|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Comparable
interface for an object that is comparable. This interface is analogous to the Comparable interface in Java 1.2, and it should be superceded by the JDK 1.2 collections framework when PAL is moved to 1.2.
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
Returns a number representing the ordering relationship that the object has with the given object. |
boolean |
equals(java.lang.Object o)
Returns true if this object is equal to the given object. |
Method Detail |
---|
int compareTo(java.lang.Object o)
boolean equals(java.lang.Object o)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |