public class ElementComparator extends Object implements Comparator
Constructor and Description |
---|
ElementComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(Object o1,
Object o2)
Compares two objects (that implement ElementInterface) by name according to the rules for the compare method.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(Object o1, Object o2)
compare
in interface Comparator
Comparator.compare(java.lang.Object, java.lang.Object)
Copyright © 2004–2022 XWiki. All rights reserved.