ewe.util
Interface Comparer
- All Known Subinterfaces:
- DatabaseEntryComparer
- All Known Implementing Classes:
- EntryComparer, FileComparer, StandardComparer, ZipFile
- public interface Comparer
A Comparer is used to compare two objects with each other.
|
Method Summary |
int |
compare(Object one,
Object two)
This should compare the two objects and return:
0 = the objects are equal. |
compare
public int compare(Object one,
Object two)
- This should compare the two objects and return:
0 = the objects are equal.
greater than 0 = one is greater than two.
less than 0 = two is greater than one.