-
Method Summary
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
nth
Get the item stored at the given index.- Parameters:
index- The index of the item to retrieve.- Returns:
- The item, can be
null - Throws:
IndexOutOfBoundsException- if the index is greater than the size.
-
asList
- Returns:
- A list containing the item of the tuple.
-
iterator
-
size
int size()- Returns:
- the number of items stored in the
Tuple
-