Package org.leo.aws.ddb.utils
Class Tuple<A,B>
- java.lang.Object
-
- org.leo.aws.ddb.utils.Tuple<A,B>
-
- All Implemented Interfaces:
Serializable,ITuple
public final class Tuple<A,B> extends Object implements ITuple
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description A_1()Tuple<A,B>_1(A updatedVal)B_2()Tuple<A,B>_2(B updatedVal)<C> Tuple3<A,B,C>append(C third)booleanequals(Object o)inthashCode()<X,Y>
Tuple<X,Y>map(BiFunction<? super A,? super B,Tuple<X,Y>> mapper)Iterable<?>toIterable()StringtoString()
-
-
-
Method Detail
-
_1
public A _1()
-
_2
public B _2()
-
map
public <X,Y> Tuple<X,Y> map(BiFunction<? super A,? super B,Tuple<X,Y>> mapper)
-
toIterable
public Iterable<?> toIterable()
- Specified by:
toIterablein interfaceITuple
-
-