public static class DirectoryProperty.PropertyComparator extends java.lang.Object implements java.util.Comparator<Property>, java.io.Serializable
Constructor and Description |
---|
PropertyComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(Property o1,
Property o2)
compare method.
|
public int compare(Property o1, Property o2)
compare
in interface java.util.Comparator<Property>
o1
- first object to compare, better be a Propertyo2
- second object to compare, better be a PropertyCopyright 2020 The Apache Software Foundation or its licensors, as applicable.