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