public class XMLItemComparator extends Object implements Comparator<XMLItem>
Usage:
Collections.sort(collection, new XMLItemComparator());
| Constructor and Description |
|---|
XMLItemComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(XMLItem o1,
XMLItem o2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int compare(XMLItem o1, XMLItem o2)
compare in interface Comparator<XMLItem>Copyright © 2006–2018 Imixs Software Solutions GmbH. All rights reserved.