com.jalios.jcms
Class QuotaManager.WorkspaceNodeComparator

java.lang.Object
  extended by com.jalios.jcms.QuotaManager.WorkspaceNodeComparator
All Implemented Interfaces:
Comparator<QuotaManager.WorkspaceNode>
Enclosing class:
QuotaManager

public static class QuotaManager.WorkspaceNodeComparator
extends Object
implements Comparator<QuotaManager.WorkspaceNode>


Nested Class Summary
static class QuotaManager.WorkspaceNodeComparator.WorkspaceNodeComparatorType
           
 
Constructor Summary
QuotaManager.WorkspaceNodeComparator(Map<Workspace,QuotaElement> elements, QuotaManager.WorkspaceNodeComparator.WorkspaceNodeComparatorType sortCriteria, boolean reverse)
           
 
Method Summary
 int compare(QuotaManager.WorkspaceNode node1, QuotaManager.WorkspaceNode node2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

QuotaManager.WorkspaceNodeComparator

public QuotaManager.WorkspaceNodeComparator(Map<Workspace,QuotaElement> elements,
                                            QuotaManager.WorkspaceNodeComparator.WorkspaceNodeComparatorType sortCriteria,
                                            boolean reverse)
Method Detail

compare

public int compare(QuotaManager.WorkspaceNode node1,
                   QuotaManager.WorkspaceNode node2)
Specified by:
compare in interface Comparator<QuotaManager.WorkspaceNode>


Copyright © 2001-2010 Jalios SA. All Rights Reserved.