public interface Comparer extends Comparator
Modifier and Type | Method and Description |
---|---|
int |
compare(Object one,
Object two)
This should compare the two objects and return:
0 = the objects are equal.
|
equals
int compare(Object one, Object two)
compare
in interface Comparator
one
- the first objecttwo
- the second object