Class Pair<A,B>
java.lang.Object
org.wpilib.util.Pair<A,B>
- Type Parameters:
A- The first object's type.B- The second object's type.
Represents a pair of two objects.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Pair
-
-
Method Details
-
getFirst
-
getSecond
-
of
Returns a pair comprised of the two given objects.- Type Parameters:
A- The first object's type.B- The second object's type.- Parameters:
a- The first object.b- The second object.- Returns:
- A pair comprised of the two given objects.
-
toString
-
equals
-
hashCode
-