Interface XDecreasingEnum<E>
-
- All Superinterfaces:
CapacityCarrying,Clearable,ConsolidatableCollection,Copyable,ExtendedCollection<E>,ExtendedSequence<E>,Iterable<E>,OptimizableCollection,Processable<E>,ReleasingCollection<E>,Sized,Sortable<E>,Truncateable,XDecreasingSequence<E>,XGettingCollection<E>,XGettingEnum<E>,XGettingSequence<E>,XGettingSet<E>,XIndexIterable<E>,XIterable<E>,XJoinable<E>,XOrderingEnum<E>,XOrderingSequence<E>,XProcessingCollection<E>,XProcessingEnum<E>,XProcessingSequence<E>,XProcessingSet<E>,XRemovingCollection<E>,XRemovingEnum<E>,XRemovingSequence<E>,XRemovingSet<E>,XReplacingCollection<E>,XSettingEnum<E>,XSettingSequence<E>,XSortableEnum<E>,XSortableSequence<E>
- All Known Subinterfaces:
XEnum<E>,XTable<K,V>,XTable.Keys<K,V>
- All Known Implementing Classes:
EqHashEnum,EqHashTable,EqHashTable.Keys,HashEnum,HashTable,HashTable.Keys,Single
public interface XDecreasingEnum<E> extends XProcessingEnum<E>, XSettingEnum<E>, XDecreasingSequence<E>, XReplacingCollection<E>
Intermediate list type that combines all list aspects except increasing (adding and inserting), effectively causing instances of this list type to maintain its size or shrink, but never grow.This type is primarily used for the values list of a map, which can offer all functionality except adding values (without mapping it to a key).
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceXDecreasingEnum.Creator<E>-
Nested classes/interfaces inherited from interface one.microstream.typing.Copyable
Copyable.Static
-
Nested classes/interfaces inherited from interface one.microstream.collections.types.XGettingSequence
XGettingSequence.Factory<E>
-
Nested classes/interfaces inherited from interface one.microstream.collections.types.XIterable
XIterable.Executor<E>
-
Nested classes/interfaces inherited from interface one.microstream.collections.types.XProcessingSequence
XProcessingSequence.Factory<E>
-
Nested classes/interfaces inherited from interface one.microstream.collections.types.XProcessingSet
XProcessingSet.Factory<E>
-
Nested classes/interfaces inherited from interface one.microstream.collections.types.XRemovingEnum
XRemovingEnum.Factory<E>
-
-
Method Summary
Modifier and Type Method Description XDecreasingEnum<E>copy()Creates a true copy of this collection which references the same elements as this collection does at the time the method is called.XDecreasingEnum<E>range(long fromIndex, long toIndex)XDecreasingEnum<E>reverse()XDecreasingEnum<E>set(long index, E[] elements, int offset, int length)XDecreasingEnum<E>set(long index, XGettingSequence<? extends E> elements, long offset, long length)XDecreasingEnum<E>setAll(long index, E... elements)XDecreasingEnum<E>sort(Comparator<? super E> comparator)longsubstitute(Function<? super E,? extends E> mapper)XDecreasingEnum<E>swap(long indexA, long indexB)XDecreasingEnum<E>swap(long indexA, long indexB, long length)XDecreasingEnum<E>toReversed()-
Methods inherited from interface one.microstream.collections.interfaces.CapacityCarrying
isFull, maximumCapacity, remainingCapacity
-
Methods inherited from interface one.microstream.collections.interfaces.ExtendedCollection
nullAllowed
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Methods inherited from interface one.microstream.functional.Processable
process
-
Methods inherited from interface one.microstream.collections.types.XGettingCollection
applies, contains, containsAll, containsId, containsSearched, copyTo, count, countBy, distinct, distinct, equality, equals, equals, equalsContent, except, filterTo, hashCode, hasVolatileElements, intersect, intSize, iterator, join, max, min, nullContained, old, search, seek, size, toArray, toArray, union
-
Methods inherited from interface one.microstream.collections.types.XGettingEnum
immure, iterate, view, view
-
Methods inherited from interface one.microstream.collections.types.XGettingSequence
at, copySelection, first, get, hasIndex, immure, indexBy, indexOf, isSorted, last, lastIndexBy, lastIndexOf, maxIndex, minIndex, peek, poll, scan
-
Methods inherited from interface one.microstream.collections.types.XIndexIterable
iterateIndexed
-
Methods inherited from interface one.microstream.collections.types.XProcessingCollection
fetch, iterate, moveTo, pinch, removeBy, removeDuplicates, retrieve, retrieveBy
-
Methods inherited from interface one.microstream.collections.types.XProcessingSequence
moveSelection, pick, pop, removeAt, view
-
Methods inherited from interface one.microstream.collections.types.XProcessingSet
immure
-
Methods inherited from interface one.microstream.collections.types.XRemovingCollection
clear, consolidate, nullRemove, optimize, remove, removeAll, removeDuplicates, removeOne, retainAll, truncate
-
Methods inherited from interface one.microstream.collections.types.XRemovingSequence
removeRange, removeSelection, retainRange
-
Methods inherited from interface one.microstream.collections.types.XSettingEnum
setFirst, setGet, setLast
-
Methods inherited from interface one.microstream.collections.types.XSettingSequence
set
-
Methods inherited from interface one.microstream.collections.types.XSortableEnum
shiftBy, shiftBy, shiftTo, shiftTo
-
-
-
-
Method Detail
-
setAll
XDecreasingEnum<E> setAll(long index, E... elements)
- Specified by:
setAllin interfaceXDecreasingSequence<E>- Specified by:
setAllin interfaceXSettingEnum<E>- Specified by:
setAllin interfaceXSettingSequence<E>
-
set
XDecreasingEnum<E> set(long index, E[] elements, int offset, int length)
- Specified by:
setin interfaceXDecreasingSequence<E>- Specified by:
setin interfaceXSettingEnum<E>- Specified by:
setin interfaceXSettingSequence<E>
-
set
XDecreasingEnum<E> set(long index, XGettingSequence<? extends E> elements, long offset, long length)
- Specified by:
setin interfaceXDecreasingSequence<E>- Specified by:
setin interfaceXSettingEnum<E>- Specified by:
setin interfaceXSettingSequence<E>
-
swap
XDecreasingEnum<E> swap(long indexA, long indexB)
- Specified by:
swapin interfaceXDecreasingSequence<E>- Specified by:
swapin interfaceXOrderingEnum<E>- Specified by:
swapin interfaceXOrderingSequence<E>- Specified by:
swapin interfaceXSettingEnum<E>- Specified by:
swapin interfaceXSettingSequence<E>- Specified by:
swapin interfaceXSortableEnum<E>- Specified by:
swapin interfaceXSortableSequence<E>
-
swap
XDecreasingEnum<E> swap(long indexA, long indexB, long length)
- Specified by:
swapin interfaceXDecreasingSequence<E>- Specified by:
swapin interfaceXOrderingEnum<E>- Specified by:
swapin interfaceXOrderingSequence<E>- Specified by:
swapin interfaceXSettingEnum<E>- Specified by:
swapin interfaceXSettingSequence<E>- Specified by:
swapin interfaceXSortableEnum<E>- Specified by:
swapin interfaceXSortableSequence<E>
-
copy
XDecreasingEnum<E> copy()
Description copied from interface:XGettingCollectionCreates a true copy of this collection which references the same elements as this collection does at the time the method is called. The elements themselves are NOT copied (no deep copying).
The type of the returned set is the same as of this list if possible.- Specified by:
copyin interfaceCopyable- Specified by:
copyin interfaceXDecreasingSequence<E>- Specified by:
copyin interfaceXGettingCollection<E>- Specified by:
copyin interfaceXGettingEnum<E>- Specified by:
copyin interfaceXGettingSequence<E>- Specified by:
copyin interfaceXGettingSet<E>- Specified by:
copyin interfaceXProcessingEnum<E>- Specified by:
copyin interfaceXProcessingSet<E>- Specified by:
copyin interfaceXSettingEnum<E>- Specified by:
copyin interfaceXSettingSequence<E>- Specified by:
copyin interfaceXSortableEnum<E>- Specified by:
copyin interfaceXSortableSequence<E>- Returns:
- a copy of this list
-
toReversed
XDecreasingEnum<E> toReversed()
- Specified by:
toReversedin interfaceXDecreasingSequence<E>- Specified by:
toReversedin interfaceXGettingEnum<E>- Specified by:
toReversedin interfaceXGettingSequence<E>- Specified by:
toReversedin interfaceXProcessingEnum<E>- Specified by:
toReversedin interfaceXProcessingSequence<E>- Specified by:
toReversedin interfaceXSettingEnum<E>- Specified by:
toReversedin interfaceXSettingSequence<E>- Specified by:
toReversedin interfaceXSortableEnum<E>- Specified by:
toReversedin interfaceXSortableSequence<E>
-
reverse
XDecreasingEnum<E> reverse()
- Specified by:
reversein interfaceXDecreasingSequence<E>- Specified by:
reversein interfaceXOrderingEnum<E>- Specified by:
reversein interfaceXOrderingSequence<E>- Specified by:
reversein interfaceXSettingEnum<E>- Specified by:
reversein interfaceXSettingSequence<E>- Specified by:
reversein interfaceXSortableEnum<E>- Specified by:
reversein interfaceXSortableSequence<E>
-
range
XDecreasingEnum<E> range(long fromIndex, long toIndex)
- Specified by:
rangein interfaceXDecreasingSequence<E>- Specified by:
rangein interfaceXGettingEnum<E>- Specified by:
rangein interfaceXGettingSequence<E>- Specified by:
rangein interfaceXSettingEnum<E>- Specified by:
rangein interfaceXSettingSequence<E>
-
sort
XDecreasingEnum<E> sort(Comparator<? super E> comparator)
- Specified by:
sortin interfaceSortable<E>- Specified by:
sortin interfaceXDecreasingSequence<E>- Specified by:
sortin interfaceXSettingEnum<E>- Specified by:
sortin interfaceXSettingSequence<E>- Specified by:
sortin interfaceXSortableEnum<E>- Specified by:
sortin interfaceXSortableSequence<E>
-
substitute
long substitute(Function<? super E,? extends E> mapper)
- Specified by:
substitutein interfaceXReplacingCollection<E>
-
-