Package org.imixs.workflow.xml
Class XMLItemComparator
java.lang.Object
org.imixs.workflow.xml.XMLItemComparator
- All Implemented Interfaces:
Comparator<XMLItem>
The XMLItemComparator provides a Comparator for XMLItems contained by a
XMLItemCollection.
Usage:
Collections.sort(collection, new XMLItemComparator());
- Author:
- rsoika
-
Constructor Summary
-
Method Summary
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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
XMLItemComparator
public XMLItemComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<XMLItem>
-