java.util.Comparator<Property>
public static class DirectoryProperty.PropertyComparator extends java.lang.Object implements java.util.Comparator<Property>
Constructor | Description |
---|---|
PropertyComparator() |
Modifier and Type | Method | Description |
---|---|---|
int |
compare(Property o1,
Property o2) |
compare method.
|
boolean |
equals(java.lang.Object o) |
Object equality, implemented as object identity
|
public boolean equals(java.lang.Object o)
equals
in interface java.util.Comparator<Property>
equals
in class java.lang.Object
o
- Object we're being compared topublic 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 2018 The Apache Software Foundation or its licensors, as applicable.