public class CmsComparatorPath extends java.lang.Object implements java.util.Comparator<I_CmsHasPath>
I_CmsHasPath| Constructor and Description |
|---|
CmsComparatorPath(boolean ascending)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(I_CmsHasPath o1,
I_CmsHasPath o2) |
public CmsComparatorPath(boolean ascending)
ascending - if true order is ascendingpublic int compare(I_CmsHasPath o1, I_CmsHasPath o2)
compare in interface java.util.Comparator<I_CmsHasPath>Comparator.compare(java.lang.Object, java.lang.Object)