Package com.jalios.jcms.quota
Class QuotaManager.WorkspaceNodeComparator
- java.lang.Object
-
- com.jalios.jcms.quota.QuotaManager.WorkspaceNodeComparator
-
- All Implemented Interfaces:
java.util.Comparator<QuotaManager.WorkspaceNode>
- Enclosing class:
- QuotaManager
public static class QuotaManager.WorkspaceNodeComparator extends java.lang.Object implements java.util.Comparator<QuotaManager.WorkspaceNode>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QuotaManager.WorkspaceNodeComparator.WorkspaceNodeComparatorType
-
Constructor Summary
Constructors Constructor Description WorkspaceNodeComparator(java.util.Map<Workspace,QuotaElement> elements, QuotaManager.WorkspaceNodeComparator.WorkspaceNodeComparatorType sortCriteria, boolean reverse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(QuotaManager.WorkspaceNode node1, QuotaManager.WorkspaceNode node2)
-
-
-
Constructor Detail
-
WorkspaceNodeComparator
public WorkspaceNodeComparator(java.util.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 interfacejava.util.Comparator<QuotaManager.WorkspaceNode>
-
-