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, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic 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 ComparatorCopyright © 2002–2021 The Apache Software Foundation. All rights reserved.