public interface OneDimensionalIntAccess extends OneDimensionalIntReadAccess, OneDimensionalAccess<java.lang.Integer>
OneDimensionalIntReadAccess.BaseMutableIndexable.ListView<T>Indexable.IndexableSpliterator<TElem>| Modifier and Type | Field and Description |
|---|---|
static OneDimensionalIntAccess |
EMPTY
Empty 1dimensional int access.
|
EMPTY_INDEXABLE_STRING| Modifier and Type | Method and Description |
|---|---|
default void |
changeAllValues(IntOperator1 operator)
Change all values by applying an operator.
|
default void |
changeValueAt(IntOperator1 operator,
int index)
Change the value at the given indexes.
|
default void |
fillValuesByIndex(java.util.function.IntUnaryOperator setter)
Set all values by their index.
|
default void |
set(int index,
java.lang.Integer elem)
Set the element at the given index.
|
void |
setValueAt(int value,
int index)
Set the value at the given index.
|
asBase, get, getValueAt, singletonchangeAll, changeAll, copy, empty, fillByIndex, setElement, setElementAtapplyOnEach, asList, copy, copyInternally, copyOf, filled, fillFrom, fromArray, fromArray, fromIndexable, fromIndexable, fromIterable, getCopy, getCopy, headSet, init, initByIndex, initFragile, listIterator, nulled, order, reverse, revert, revert, setFrom, setFrom, setFromArray, setMulti, shuffle, subSet, swap, swyp, sybSet, syt, tailSet, viewArray, viewArray, viewIndexable, viewListchange, setAll, setFrom, setFrom, setFromgetElement, getNumDimensions, getNumElements, getSize, getSizes, view, visitAll, visitAlladdToArray, addToArray, addToCollection, asCollection, binarySearch, checkIndex, combine, compare, downCast, emptyIndexable, equal, findAll, findAllX, findFirst, findFirst, findFirst, findFirstX, findLast, findLast, findLast, findNext, findNext, findNext, findNextX, findPrevious, findPrevious, findPrevious, first, firstMatch, firstMatch, firstMatchX, forEachEntry, forEachEntryFragile, fromCollection, fromCollection, fromCountable, fromCountable, fromEnumeration, fromEnumeration, fromIterable, fromIterable, fromIterable, fromIterable, fromIterator, fromList, fromOptional, frozenSpliterator, getMod, gyt, hash, indexedView, indexes, init, initByIndex, intIndexes, isEmpty, isOrdered, isStrictlyOrdered, iterator, iterator, last, mapArray, optional, ordered, rotated, spliterator, toString, view, view, viewAsBooleanIndexable, viewAsByteIndexable, viewAsCharIndexable, viewAsDict, viewAsDoubleIndexable, viewAsFloatIndexable, viewAsIntIndexable, viewAsLongIndexable, viewAsShortIndexable, viewByIndex, viewFragile, viewList, viewList, viewListN, viewListN, viewTuple, viewTuple, viewTuple, viewTuple, viewTuple, viewTuple, viewTuple, viewTuple, withAppendedItem, withCachedHash, withExchangedItemAt, withInsertedItemAt, withPrependedItem, withRemovedItemAt, withSwappedItemsAtaddAllTo, combined, combined, containsEq, containsRef, downCast, equal, equals, filtered, filteredToIndexable, filterToCountable, firstOrNull, foldLeft, forEachFragile, freeze, frozen, frozen, getAny, groupingBy, groupingBy, hasAll, hasAny, isSorted, isStrictlySorted, lastOrNull, mappingBy, mappingBy, optFirst, optLast, orderedCombination, parellelStream, sorted, stream, toArray, toArray, toList, toString, uniform, viewCollection, viewCollection, viewCollectionN, viewCollectionNempty, linearizedstatic final OneDimensionalIntAccess EMPTY
void setValueAt(int value,
int index)
This is usually more efficient than
set(int, Integer) or OneDimensionalAccess.setElement(Object, int...).
value - value to setindex - index of valuedefault void changeValueAt(@NotNull IntOperator1 operator, int index)
operator - operator to apply to the valueindex - index of valuedefault void changeAllValues(@NotNull IntOperator1 operator)
operator - operator to applydefault void set(int index,
@NotNull
java.lang.Integer elem)
MutableIndexableset in interface MutableIndexable<java.lang.Integer>index - index between 0 and size() - 1elem - element to put to the given indexdefault void fillValuesByIndex(@NotNull java.util.function.IntUnaryOperator setter)
setter - setter which gets the index and returns the value to set for that index