|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Comparable
Contains methods which are used to compare two objects.
BinarySearch
Field Summary | |
---|---|
static java.lang.String |
REV
Revision information. |
static int |
VERS
Class revision number. |
Method Summary | |
---|---|
int |
compare(java.lang.Object a,
java.lang.Object b)
Compares two objects. |
int |
compareTo(java.lang.Object b)
Compares this to another object b. |
Field Detail |
---|
static final java.lang.String REV
static final int VERS
Method Detail |
---|
int compare(java.lang.Object a, java.lang.Object b)
a
- The first (left) object to compare.b
- The second (right) object to compare.
int compareTo(java.lang.Object b)
a
- The second (right) object to compare.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |