public interface IntTuple extends Tuple
int values.| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
Returns whether this tuple equals the given object.
|
int |
get(int index)
Returns the value at the given index of this tuple.
|
int |
hashCode()
This hash code is defined to be the sum of the hash codes of
all the elements of this tuple.
|
default java.util.stream.IntStream |
stream()
Returns a sequential
IntStream with this tuple as its source. |
default IntTuple |
subTuple(int fromIndex,
int toIndex)
Returns a view on a portion of this tuple.
|
int get(int index)
index - The index.IndexOutOfBoundsException - If the given index
is smaller than 0, or greater than or equal to the
size of this tuple.default IntTuple subTuple(int fromIndex, int toIndex)
Tupledefault java.util.stream.IntStream stream()
IntStream with this tuple as its source.boolean equals(Object object)
true if and only if the given object is also
a IntTuple, has the same size
as this one, and is component-wise equal to this one.Copyright © 2015. All Rights Reserved.