|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An object which supports a total ordering with like objects.
$Log: Comparable.java,v $ Revision 1.1 2000/02/16 23:48:54 gjanee Initial revision
| Method Summary | |
int |
compareTo(edu.ucsb.adl.middleware.Comparable other)
Returns the order relationship between this object and another (like) object. |
| Method Detail |
public int compareTo(edu.ucsb.adl.middleware.Comparable other)
other - The other object.
other;
zero if this object is equivalent to other as far
as the ordering is concerned; or a positive value if
other precedes this object.
java.lang.ClassCastException - If other is not a like object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||