public interface OneDimensionalBooleanReadAccess extends OneDimensionalReadAccess<java.lang.Boolean>
Modifier and Type | Interface and Description |
---|---|
static class |
OneDimensionalBooleanReadAccess.Base
Abstract base class implementing this interface which provides useful implementations
for
Object.equals(Object) , Object.hashCode() ,
Object.toString() . |
Indexable.IndexableSpliterator<TElem>, Indexable.ListView<T>
Modifier and Type | Field and Description |
---|---|
static OneDimensionalBooleanReadAccess |
EMPTY
Empty 1dimensional boolean read access.
|
EMPTY_INDEXABLE_STRING
Modifier and Type | Method and Description |
---|---|
default OneDimensionalBooleanReadAccess.Base |
asBase()
Make this read access usable as a base class with default Object methods implemented.
|
default java.lang.Boolean |
get(int index)
Get the element at the given index.
|
boolean |
getValueAt(int index)
Get the value at the given index.
|
static OneDimensionalBooleanReadAccess |
singleton(boolean singleElement)
Create an 1dimensional boolean read access with only 1 element.
|
copy, empty, getElement, getNumDimensions, getNumElements, getSize, getSizes, view, visitAll, visitAll
addToArray, addToArray, addToCollection, asCollection, asList, 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, fromArray, fromCollection, fromCollection, fromCountable, fromCountable, fromEnumeration, fromEnumeration, fromIterable, fromIterable, fromIterable, fromIterable, fromIterator, fromList, fromOptional, frozenSpliterator, getMod, gyt, hash, headSet, indexedView, indexes, init, initByIndex, intIndexes, isEmpty, isOrdered, isStrictlyOrdered, iterator, iterator, last, listIterator, mapArray, optional, ordered, reverse, rotated, spliterator, subSet, sybSet, tailSet, toString, view, view, viewArray, viewArray, viewAsBooleanIndexable, viewAsByteIndexable, viewAsCharIndexable, viewAsDoubleIndexable, viewAsFloatIndexable, viewAsIntIndexable, viewAsLongIndexable, viewAsShortIndexable, viewByIndex, viewFragile, 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, firstOrNull, foldLeft, forEachFragile, freeze, frozen, frozen, groupingBy, groupingBy, hasAll, hasAny, isSorted, isStrictlySorted, lastOrNull, mappingBy, mappingBy, optFirst, optLast, orderedCombination, sorted, toArray, toArray, toList, toString, uniform, viewCollection, viewCollection, viewCollectionN, viewCollectionN
empty, linearized
static final OneDimensionalBooleanReadAccess EMPTY
boolean getValueAt(int index)
This is usually more efficient then
get(int)
and OneDimensionalReadAccess.getElement(int...)
.
index
- index of requested value@NotNull default java.lang.Boolean get(int index)
Indexable
@NotNull default OneDimensionalBooleanReadAccess.Base asBase()
@NotNull static OneDimensionalBooleanReadAccess singleton(boolean singleElement)
singleton
in interface Countable<java.lang.Boolean>
singleton
in interface Indexable<java.lang.Boolean>
singleton
in interface OneDimensionalReadAccess<java.lang.Boolean>
singleElement
- the single element