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 booleanequals(Object object)AgetVal1()BgetVal2()inthashCode()static <A,B>
Tuple<A,B>of(A val1, B val2)Creates a Tuple with 2 objects
-