|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.pages.ChildPositionComparator
public class ChildPositionComparator
A comparator used to sort pages based on the Page Ordering sort rules.
This comparator will use the position of the two pages if they both are set, otherwise will revert to a name based "natural" sort. For details on the Natural Sort algorithm see theNaturalStringComparator
.
Constructor Summary | |
---|---|
ChildPositionComparator()
|
Method Summary | |
---|---|
int |
compare(java.lang.Object arg0,
java.lang.Object arg1)
|
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 |
---|
public ChildPositionComparator()
Method Detail |
---|
public int compare(java.lang.Object arg0, java.lang.Object arg1)
compare
in interface java.util.Comparator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |