- All Known Implementing Classes:
public interface TupleBase interface for all tuple types.
An ordered list of elements of a fixed size, where each element can have a different type.
All implementations must be final, immutable and thread-safe.
int size()Gets the number of elements held by this tuple.
Each tuple type has a fixed size, returned by this method. For example,
- the size of the tuple
java.util.List<java.lang.Object> elements()Gets the elements from this tuple as a list.
The list contains each element in the tuple in order.
- the elements as a list