Class Pair<A,​B>

java.lang.Object
de.scravy.bedrock.Pair<A,​B>
Type Parameters:
A - The first component of the tuple.
B - The second component of the tuple.
All Implemented Interfaces:
Tuple2<A,​B>, Serializable, Comparable<Pair<A,​B>>, Map.Entry<A,​B>

@Immutable
public class Pair<A,​B>
extends Object
implements Map.Entry<A,​B>, Serializable, Comparable<Pair<A,​B>>, Tuple2<A,​B>
An immutable tuple.
See Also:
Serialized Form