|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An interface for comparing two objects.
Note: This interface is compatible with the Comparator interface that is in Java 2. Since we are still using Java 1.1 I will just make this interface. When we move to Java 2, this interface can easily be eliminated.
| Method Summary | |
int |
compare(java.lang.Object a,
java.lang.Object b)
Compare objects a and b. |
boolean |
equals(java.lang.Object a,
java.lang.Object b)
Compare two objects for equality. |
| Method Detail |
public int compare(java.lang.Object a,
java.lang.Object b)
public boolean equals(java.lang.Object a,
java.lang.Object b)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||