"

2013 FRC Java API

"

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(Object object1, Object object2)
          Compare the given two objects.
 

Method Detail

compare

int compare(Object object1,
            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

"

2013 FRC Java API

"

"
For updated information see the Java FRC site
"