T1 - type of the first element of the tupleT2 - type of the second element of the tuplepublic class Tuples<T1,T2> extends AbstractImmutableList<Tuple<T1,T2>>
Outer.| Constructor and Description |
|---|
Tuples(ImmutableList<T1> list1,
ImmutableList<T2> list2)
contains all possible tuples with first element from list1 and second
from list2
|
| Modifier and Type | Method and Description |
|---|---|
Tuple<T1,T2> |
get(java.math.BigInteger index)
Returns the element at the specified position in this list.
|
java.math.BigInteger |
size() |
get, iterator, toStringpublic Tuples(ImmutableList<T1> list1, ImmutableList<T2> list2)
list1 - first element listlist2 - second element listpublic Tuple<T1,T2> get(java.math.BigInteger index)
ImmutableListindex - index of the element to returnpublic java.math.BigInteger size()