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