public interface MutableLongTuple extends LongTuple
long values.| Modifier and Type | Method and Description |
|---|---|
void |
set(int index,
long value)
Set the value at the given index.
|
default void |
set(LongTuple other)
Set this tuple to be equal to the given one.
|
default MutableLongTuple |
subTuple(int fromIndex,
int toIndex)
Returns a view on a portion of this tuple.
|
void set(int index,
long 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(LongTuple other)
other - The other tupleIllegalArgumentException - If the given tuple does not
have the same sizedefault MutableLongTuple subTuple(int fromIndex, int toIndex)
Copyright © 2015. All Rights Reserved.