edu.wpi.first.wpilibj.util
Interface SortedVector.Comparator
- Enclosing class:
- SortedVector
- public static interface SortedVector.Comparator 
Interface used to determine the order to place sorted objects.
| Method Summary | 
|  int | compare(java.lang.Object object1,
               java.lang.Object object2)Compare the given two objects.
 | 
 
compare
int compare(java.lang.Object object1,
            java.lang.Object object2)
- Compare the given two objects.
 
- 
- Parameters:
- object1- First object to compare
- object2- Second object to compare
- Returns:
- -1, 0, or 1 if the first object is less than, equal to, or
  greater than the second, respectively