Interface XBasicEnum<E>
-
- Type Parameters:
E-
- All Superinterfaces:
CapacityCarrying,CapacityExtendable,Clearable,ConsolidatableCollection,Consumer<E>,Copyable,ExtendedCollection<E>,ExtendedSequence<E>,Iterable<E>,OptimizableCollection,Processable<E>,ReleasingCollection<E>,Sized,Truncateable,XAddGetCollection<E>,XAddGetSet<E>,XAddingCollection<E>,XAddingEnum<E>,XAddingSequence<E>,XAddingSet<E>,XBasicSequence<E>,XCollection<E>,XGettingCollection<E>,XGettingEnum<E>,XGettingSequence<E>,XGettingSet<E>,XIndexIterable<E>,XIterable<E>,XJoinable<E>,XProcessingCollection<E>,XProcessingEnum<E>,XProcessingSequence<E>,XProcessingSet<E>,XPutGetCollection<E>,XPutGetEnum<E>,XPutGetSequence<E>,XPutGetSet<E>,XPuttingCollection<E>,XPuttingEnum<E>,XPuttingSequence<E>,XPuttingSet<E>,XRemovingCollection<E>,XRemovingEnum<E>,XRemovingSequence<E>,XRemovingSet<E>,XSet<E>
- All Known Subinterfaces:
XBasicTable<K,V>,XBasicTable.Keys<K,V>,XChart<K,V>,XChart.Keys<K,V>,XEnum<E>,XRank<E>,XTable<K,V>,XTable.Keys<K,V>
- All Known Implementing Classes:
EqHashEnum,EqHashTable,EqHashTable.Keys,HashEnum,HashTable,HashTable.Keys,Single
public interface XBasicEnum<E> extends XSet<E>, XBasicSequence<E>, XPutGetEnum<E>, XProcessingEnum<E>
Intermediate list type providing getting, adding, removing concerns to act as a common super type forXListandXLadder. This is necessary becauseXLaddercannot provide the otherwise typical list concerns like inserting, ordering, setting due to the limitations of the characteristic of being always sorted.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceXBasicEnum.Creator<E>-
Nested classes/interfaces inherited from interface one.microstream.typing.Copyable
Copyable.Static
-
Nested classes/interfaces inherited from interface one.microstream.collections.types.XBasicSequence
XBasicSequence.Factory<E>
-
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.XPutGetSequence
XPutGetSequence.Factory<E>
-
Nested classes/interfaces inherited from interface one.microstream.collections.types.XPutGetSet
XPutGetSet.Factory<E>
-
Nested classes/interfaces inherited from interface one.microstream.collections.types.XRemovingEnum
XRemovingEnum.Factory<E>
-
Nested classes/interfaces inherited from interface one.microstream.collections.types.XSet
XSet.Factory<E>
-
-
Method Summary
Modifier and Type Method Description XBasicEnum<E>addAll(E... elements)XBasicEnum<E>addAll(E[] elements, int srcStartIndex, int srcLength)XBasicEnum<E>addAll(XGettingCollection<? extends E> elements)XBasicEnum<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.XImmutableEnum<E>immure()Provides an instance of an immutable collection type with equal behavior and data as this instance.XBasicEnum<E>putAll(E... elements)XBasicEnum<E>putAll(E[] elements, int srcStartIndex, int srcLength)XBasicEnum<E>putAll(XGettingCollection<? extends E> elements)XBasicEnum<E>toReversed()-
Methods inherited from interface one.microstream.collections.interfaces.CapacityCarrying
isFull, maximumCapacity, remainingCapacity
-
Methods inherited from interface one.microstream.collections.interfaces.CapacityExtendable
currentCapacity, currentFreeCapacity, ensureCapacity, ensureFreeCapacity
-
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.XAddGetSet
addGet, deduplicate
-
Methods inherited from interface one.microstream.collections.types.XAddingCollection
accept, add, nullAdd
-
Methods inherited from interface one.microstream.collections.types.XCollection
collector
-
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
iterate, range, view, view
-
Methods inherited from interface one.microstream.collections.types.XGettingSequence
at, copySelection, first, get, hasIndex, 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.XPutGetSet
putGet, replace
-
Methods inherited from interface one.microstream.collections.types.XPuttingCollection
nullPut, put
-
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
-
-
-
-
Method Detail
-
putAll
XBasicEnum<E> putAll(E... elements)
- Specified by:
putAllin interfaceXBasicSequence<E>- Specified by:
putAllin interfaceXCollection<E>- Specified by:
putAllin interfaceXPutGetCollection<E>- Specified by:
putAllin interfaceXPutGetEnum<E>- Specified by:
putAllin interfaceXPutGetSequence<E>- Specified by:
putAllin interfaceXPutGetSet<E>- Specified by:
putAllin interfaceXPuttingCollection<E>- Specified by:
putAllin interfaceXPuttingEnum<E>- Specified by:
putAllin interfaceXPuttingSequence<E>- Specified by:
putAllin interfaceXPuttingSet<E>- Specified by:
putAllin interfaceXSet<E>
-
putAll
XBasicEnum<E> putAll(E[] elements, int srcStartIndex, int srcLength)
- Specified by:
putAllin interfaceXBasicSequence<E>- Specified by:
putAllin interfaceXCollection<E>- Specified by:
putAllin interfaceXPutGetCollection<E>- Specified by:
putAllin interfaceXPutGetEnum<E>- Specified by:
putAllin interfaceXPutGetSequence<E>- Specified by:
putAllin interfaceXPutGetSet<E>- Specified by:
putAllin interfaceXPuttingCollection<E>- Specified by:
putAllin interfaceXPuttingEnum<E>- Specified by:
putAllin interfaceXPuttingSequence<E>- Specified by:
putAllin interfaceXPuttingSet<E>- Specified by:
putAllin interfaceXSet<E>
-
putAll
XBasicEnum<E> putAll(XGettingCollection<? extends E> elements)
- Specified by:
putAllin interfaceXBasicSequence<E>- Specified by:
putAllin interfaceXCollection<E>- Specified by:
putAllin interfaceXPutGetCollection<E>- Specified by:
putAllin interfaceXPutGetEnum<E>- Specified by:
putAllin interfaceXPutGetSequence<E>- Specified by:
putAllin interfaceXPutGetSet<E>- Specified by:
putAllin interfaceXPuttingCollection<E>- Specified by:
putAllin interfaceXPuttingEnum<E>- Specified by:
putAllin interfaceXPuttingSequence<E>- Specified by:
putAllin interfaceXPuttingSet<E>- Specified by:
putAllin interfaceXSet<E>
-
addAll
XBasicEnum<E> addAll(E... elements)
- Specified by:
addAllin interfaceXAddGetCollection<E>- Specified by:
addAllin interfaceXAddGetSet<E>- Specified by:
addAllin interfaceXAddingCollection<E>- Specified by:
addAllin interfaceXAddingEnum<E>- Specified by:
addAllin interfaceXAddingSequence<E>- Specified by:
addAllin interfaceXAddingSet<E>- Specified by:
addAllin interfaceXBasicSequence<E>- Specified by:
addAllin interfaceXCollection<E>- Specified by:
addAllin interfaceXPutGetCollection<E>- Specified by:
addAllin interfaceXPutGetEnum<E>- Specified by:
addAllin interfaceXPutGetSequence<E>- Specified by:
addAllin interfaceXPutGetSet<E>- Specified by:
addAllin interfaceXPuttingEnum<E>- Specified by:
addAllin interfaceXPuttingSet<E>- Specified by:
addAllin interfaceXSet<E>
-
addAll
XBasicEnum<E> addAll(E[] elements, int srcStartIndex, int srcLength)
- Specified by:
addAllin interfaceXAddGetCollection<E>- Specified by:
addAllin interfaceXAddGetSet<E>- Specified by:
addAllin interfaceXAddingCollection<E>- Specified by:
addAllin interfaceXAddingEnum<E>- Specified by:
addAllin interfaceXAddingSequence<E>- Specified by:
addAllin interfaceXAddingSet<E>- Specified by:
addAllin interfaceXBasicSequence<E>- Specified by:
addAllin interfaceXCollection<E>- Specified by:
addAllin interfaceXPutGetCollection<E>- Specified by:
addAllin interfaceXPutGetEnum<E>- Specified by:
addAllin interfaceXPutGetSequence<E>- Specified by:
addAllin interfaceXPutGetSet<E>- Specified by:
addAllin interfaceXPuttingEnum<E>- Specified by:
addAllin interfaceXPuttingSet<E>- Specified by:
addAllin interfaceXSet<E>
-
addAll
XBasicEnum<E> addAll(XGettingCollection<? extends E> elements)
- Specified by:
addAllin interfaceXAddGetCollection<E>- Specified by:
addAllin interfaceXAddGetSet<E>- Specified by:
addAllin interfaceXAddingCollection<E>- Specified by:
addAllin interfaceXAddingEnum<E>- Specified by:
addAllin interfaceXAddingSequence<E>- Specified by:
addAllin interfaceXAddingSet<E>- Specified by:
addAllin interfaceXBasicSequence<E>- Specified by:
addAllin interfaceXCollection<E>- Specified by:
addAllin interfaceXPutGetCollection<E>- Specified by:
addAllin interfaceXPutGetEnum<E>- Specified by:
addAllin interfaceXPutGetSequence<E>- Specified by:
addAllin interfaceXPutGetSet<E>- Specified by:
addAllin interfaceXPuttingEnum<E>- Specified by:
addAllin interfaceXPuttingSet<E>- Specified by:
addAllin interfaceXSet<E>
-
copy
XBasicEnum<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 interfaceXAddGetCollection<E>- Specified by:
copyin interfaceXAddGetSet<E>- Specified by:
copyin interfaceXBasicSequence<E>- Specified by:
copyin interfaceXCollection<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 interfaceXPutGetCollection<E>- Specified by:
copyin interfaceXPutGetEnum<E>- Specified by:
copyin interfaceXPutGetSequence<E>- Specified by:
copyin interfaceXPutGetSet<E>- Specified by:
copyin interfaceXSet<E>- Returns:
- a copy of this list
-
toReversed
XBasicEnum<E> toReversed()
- Specified by:
toReversedin interfaceXBasicSequence<E>- Specified by:
toReversedin interfaceXGettingEnum<E>- Specified by:
toReversedin interfaceXGettingSequence<E>- Specified by:
toReversedin interfaceXProcessingEnum<E>- Specified by:
toReversedin interfaceXProcessingSequence<E>- Specified by:
toReversedin interfaceXPutGetEnum<E>- Specified by:
toReversedin interfaceXPutGetSequence<E>
-
immure
XImmutableEnum<E> immure()
Description copied from interface:XGettingCollectionProvides an instance of an immutable collection type with equal behavior and data as this instance.If this instance already is of an immutable collection type, it returns itself.
- Specified by:
immurein interfaceXGettingCollection<E>- Specified by:
immurein interfaceXGettingEnum<E>- Specified by:
immurein interfaceXGettingSequence<E>- Specified by:
immurein interfaceXGettingSet<E>- Specified by:
immurein interfaceXProcessingSet<E>- Returns:
- an immutable copy of this collection instance.
-
-