public interface LongTuple extends Tuple
long values.| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
Returns whether this tuple equals the given object.
|
long |
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.LongStream |
stream()
Returns a sequential
LongStream with this tuple as its source. |
default LongTuple |
subTuple(int fromIndex,
int toIndex)
Returns a view on a portion of this tuple.
|
long 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 LongTuple subTuple(int fromIndex, int toIndex)
Tupledefault java.util.stream.LongStream stream()
LongStream with this tuple as its source.boolean equals(Object object)
true if and only if the given object is also
a LongTuple, has the same size
as this one, and is component-wise equal to this one.Copyright © 2015. All Rights Reserved.