public interface Tuple
| Modifier and Type | Method and Description |
|---|---|
int |
getSize()
Returns the size (number of dimensions) of this tuple.
|
Tuple |
subTuple(int fromIndex,
int toIndex)
Returns a view on a portion of this tuple.
|
int getSize()
Tuple subTuple(int fromIndex, int toIndex)
fromIndex - The start index of the sub-tuple (inclusive)toIndex - The end index of the sub-tuple (exclusive)IllegalArgumentException - If the indices are not valid. This
is the case when fromIndex < 0 or
fromIndex > toIndex or
toIndex >= getSize()Copyright © 2015. All Rights Reserved.