public interface OneDimensionalBooleanAccess extends OneDimensionalBooleanReadAccess, OneDimensionalAccess<java.lang.Boolean>
OneDimensionalBooleanReadAccess.Base
MutableIndexable.ListView<T>
Indexable.IndexableSpliterator<TElem>
Modifier and Type | Field and Description |
---|---|
static OneDimensionalBooleanAccess |
EMPTY
Empty 1dimensional boolean access.
|
EMPTY_INDEXABLE_STRING
Modifier and Type | Method and Description |
---|---|
default void |
changeAllValues(BooleanOperator1 operator)
Change all values by applying an operator.
|
default void |
changeValueAt(BooleanOperator1 operator,
int index)
Change the value at the given indexes.
|
default void |
fillValuesByIndex(IntPredicate1 setter)
Set all values by their index.
|
default void |
set(int index,
java.lang.Boolean elem)
Set the element at the given index.
|
void |
setValueAt(boolean value,
int index)
Set the value at the given index.
|
asBase, get, getValueAt, singleton
changeAll, changeAll, copy, empty, fillByIndex, setElement, setElementAt
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, viewList
change, setAll, setFrom, setFrom, setFrom
getElement, getNumDimensions, getNumElements, getSize, getSizes, view, visitAll, visitAll
addToArray, addToArray, addToCollection, asCollection, binarySearch, combine, compare, downCast, emptyIndexable, equal, findAll, findFirst, findFirst, findFirst, findLast, findLast, findLast, findNext, findNext, findNext, findPrevious, findPrevious, findPrevious, first, firstMatch, firstMatch, forEachEntry, forEachEntryFragile, fromCollection, fromCollection, fromCountable, fromCountable, fromEnumeration, fromEnumeration, fromIterable, fromIterable, fromIterable, fromIterable, fromIterator, fromList, fromOptional, frozenSpliterator, gyt, hash, indexedView, indexes, init, initByIndex, intIndexes, isEmpty, isOrdered, isStrictlyOrdered, iterator, iterator, last, mapArray, optional, ordered, rotated, spliterator, toList, toString, view, view, viewAsBooleanIndexable, viewAsByteIndexable, viewAsCharIndexable, viewAsDoubleIndexable, viewAsFloatIndexable, viewAsIntIndexable, viewAsLongIndexable, viewAsShortIndexable, viewByIndex, viewList, viewList, viewListN, viewListN, viewTuple, viewTuple, viewTuple, viewTuple, viewTuple, viewTuple, viewTuple, viewTuple, withAppendedItem, withCachedHash, withExchangedItemAt, withInsertedItemAt, withRemovedItemAt, withSwappedItemsAt
addAllTo, combined, combined, containsEq, containsRef, downCast, equal, equals, filtered, filteredToIndexable, filterToCountable, foldLeft, forEachFragile, frozen, frozen, groupingBy, groupingBy, hasAll, hasAny, isSorted, isStrictlySorted, mappingBy, mappingBy, orderedCombination, sorted, toArray, toArray, toString, uniform, viewCollection, viewCollection, viewCollectionN, viewCollectionN
empty, linearized
static final OneDimensionalBooleanAccess EMPTY
void setValueAt(boolean value, int index)
This is usually more efficient than
set(int, Boolean)
or OneDimensionalAccess.setElement(Object, int...)
.
value
- value to setindex
- index of valuedefault void changeValueAt(@NotNull BooleanOperator1 operator, int index)
operator
- operator to apply to the valueindex
- index of valuedefault void changeAllValues(@NotNull BooleanOperator1 operator)
operator
- operator to applydefault void set(int index, @NotNull java.lang.Boolean elem)
MutableIndexable
set
in interface MutableIndexable<java.lang.Boolean>
index
- index between 0
and size() - 1
elem
- element to put to the given indexdefault void fillValuesByIndex(@NotNull IntPredicate1 setter)
setter
- setter which gets the index and returns the value to set for that index