public static class DirectoryProperty.PropertyComparator extends Object implements Comparator<Property>
| Constructor and Description |
|---|
PropertyComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Property o1,
Property o2)
compare method.
|
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 int compare(Property o1, Property o2)
compare in interface Comparator<Property>o1 - first object to compare, better be a Propertyo2 - second object to compare, better be a PropertyCopyright © 2007-2022. All Rights Reserved.