Package io.vertigo.core.lang
Class Tuple<A,B>
- java.lang.Object
-
- io.vertigo.core.lang.Tuple<A,B>
-
- Type Parameters:
A
- Type oneB
- Type two
public final class Tuple<A,B> extends Object
Tuples are immutable objects. Tuple with 2 Objects.- Author:
- pchretien
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
A
getVal1()
B
getVal2()
int
hashCode()
static <A,B>
Tuple<A,B>of(A val1, B val2)
Creates a Tuple with 2 objects
-