public static class KElement.SingleAttributeComparator extends KElement.SingleXPathComparator
Constructor and Description |
---|
SingleAttributeComparator(String pAttName,
boolean pInvert)
if the attribute is numeric, compare numerically, else lexical comparison is done
|
compare
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 SingleAttributeComparator(String pAttName, boolean pInvert)
pAttName
- the attribute to use for comparingpInvert
- if true, sort backwardsCopyright © 2018. All rights reserved.