com.xpn.xwiki.objects
Class ElementComparator
java.lang.Object
com.xpn.xwiki.objects.ElementComparator
- All Implemented Interfaces:
- Comparator
public class ElementComparator
- extends Object
- implements Comparator
Compare and sort instances of ElementInterface by name.
Method Summary |
int |
compare(Object o1,
Object o2)
Compares two objects (that implement ElementInterface) by name according
to the rules for the compare method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElementComparator
public ElementComparator()
compare
public int compare(Object o1,
Object o2)
- Compares two objects (that implement ElementInterface) by name according
to the rules for the compare method.
- Specified by:
compare
in interface Comparator
- See Also:
Comparator.compare(java.lang.Object, java.lang.Object)
Copyright © 2004-2013 XWiki. All Rights Reserved.