public static class DirectoryProperty.PropertyComparator extends java.lang.Object implements java.util.Comparator<Property>
Constructor and Description |
---|
PropertyComparator() |
Modifier and Type | Method and 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 © 2005-2010 Potix Corporation. All Rights Reserved.