Package org.cip4.jdflib.core
Class KElement.SimpleNodeComparator
java.lang.Object
org.cip4.jdflib.core.KElement.SimpleNodeComparator
- All Implemented Interfaces:
Comparator<KElement>
- Enclosing class:
- KElement
sorts according to the lexical string representation of the xml objects
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
SimpleNodeComparator
public SimpleNodeComparator()
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<KElement>- Parameters:
o1-o2-- Returns:
- See Also:
-