Package VASSAL.tools.lang
Class Pair<A,B>
java.lang.Object
VASSAL.tools.lang.Pair<A,B>
- Type Parameters:
A
- the type of the first objectB
- the type of the second object
An immutable class for pairs of objects.
- Since:
- 3.2.0
- Author:
- Joel Uckelman
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
first
-
second
-
-
Constructor Details
-
Pair
Creates a pair with the given values.- Parameters:
first
- the first valuesecond
- the second value
-
-
Method Details