public static class CollectionTool.PropertiesComparator extends Object implements Comparator, Serializable
Modifier and Type | Field and Description |
---|---|
static String |
TYPE_ASCENDING_SHORT |
static String |
TYPE_DESCENDING_SHORT |
Constructor and Description |
---|
PropertiesComparator(List props) |
Modifier and Type | Method and Description |
---|---|
int |
compare(Object lhs,
Object rhs) |
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 static final String TYPE_ASCENDING_SHORT
public static final String TYPE_DESCENDING_SHORT
public PropertiesComparator(List props)
public int compare(Object lhs, Object rhs)
compare
in interface Comparator
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.