org.cip4.jdflib.core
Class KElement.SimpleNodeComparator
java.lang.Object
org.cip4.jdflib.core.KElement.SimpleNodeComparator
- All Implemented Interfaces:
- Comparator<KElement>
- Enclosing class:
- KElement
public static class KElement.SimpleNodeComparator
- extends Object
- implements Comparator<KElement>
sorts according to the lexical string representation of the xml objects
- Author:
- prosirai
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KElement.SimpleNodeComparator
public KElement.SimpleNodeComparator()
compare
public int compare(KElement o1,
KElement o2)
- Specified by:
compare in interface Comparator<KElement>
- Parameters:
o1 - o2 -
- Returns:
- See Also:
Comparator.compare(java.lang.Object, java.lang.Object)
Copyright © 2013. All Rights Reserved.