Package Struct

Class Pair<A,B>

java.lang.Object
Struct.Pair<A,B>
Type Parameters:
A - the type of the first element in the pair.
B - the type of the second element in the pair.

public class Pair<A,B> extends Object
The Pair class stores two related objects of potentially different types. It is a simple generic container for two elements, commonly known as a tuple.
Since:
1.0
Version:
1.0
Author:
Sahasrad Chippa