public static interface SortedVector.Comparator
| Modifier and Type | Method and Description |
|---|---|
int |
compare(java.lang.Object object1,
java.lang.Object object2)
Compare the given two objects.
|
int compare(java.lang.Object object1, java.lang.Object object2)
Should return -1, 0, or 1 if the first object is less than, equal to, or greater than the second, respectively.
object1 - First object to compareobject2 - Second object to compare