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, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(XMLItem o1, XMLItem o2)
compare
in interface Comparator<XMLItem>
Copyright © 2006–2019 Imixs Software Solutions GmbH. All rights reserved.