public interface MutableDoubleTuple extends DoubleTuple
double values.| Modifier and Type | Method and Description |
|---|---|
default void |
set(DoubleTuple other)
Set this tuple to be equal to the given one.
|
void |
set(int index,
double value)
Set the value at the given index.
|
default MutableDoubleTuple |
subTuple(int fromIndex,
int toIndex)
Returns a view on a portion of this tuple.
|
equals, get, hashCode, streamvoid set(int index,
double value)
index - The indexvalue - The valueIndexOutOfBoundsException - If the given index
is smaller than 0, or greater than or equal to the
size of this tuple.default void set(DoubleTuple other)
other - The other tupleIllegalArgumentException - If the given tuple does not
have the same sizedefault MutableDoubleTuple subTuple(int fromIndex, int toIndex)
subTuple in interface DoubleTuplesubTuple in interface TuplefromIndex - The start index of the sub-tuple (inclusive)toIndex - The end index of the sub-tuple (exclusive)Copyright © 2015. All Rights Reserved.