org.cip4.jdflib.core
Class KElement.SimpleNodeComparator

java.lang.Object
  extended by 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

Constructor Summary
KElement.SimpleNodeComparator()
           
 
Method Summary
 int compare(KElement o1, KElement o2)
           
 
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
 

Constructor Detail

KElement.SimpleNodeComparator

public KElement.SimpleNodeComparator()
Method Detail

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.