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 for
XList
and XLadder
. This is necessary because XLadder
cannot 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 interface
XBasicEnum.Creator<E>
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 one.microstream.collections.types.XAddingCollection
accept, add, nullAdd
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.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.XRemovingCollection
clear, consolidate, nullRemove, optimize, remove, removeAll, removeDuplicates, removeOne, retainAll, truncate
Methods inherited from interface one.microstream.collections.types.XRemovingSequence
removeRange, removeSelection, retainRange
-
Method Details
-
putAll
- Specified by:
putAll
in interfaceXBasicSequence<E>
- Specified by:
putAll
in interfaceXCollection<E>
- Specified by:
putAll
in interfaceXPutGetCollection<E>
- Specified by:
putAll
in interfaceXPutGetEnum<E>
- Specified by:
putAll
in interfaceXPutGetSequence<E>
- Specified by:
putAll
in interfaceXPutGetSet<E>
- Specified by:
putAll
in interfaceXPuttingCollection<E>
- Specified by:
putAll
in interfaceXPuttingEnum<E>
- Specified by:
putAll
in interfaceXPuttingSequence<E>
- Specified by:
putAll
in interfaceXPuttingSet<E>
- Specified by:
putAll
in interfaceXSet<E>
-
putAll
- Specified by:
putAll
in interfaceXBasicSequence<E>
- Specified by:
putAll
in interfaceXCollection<E>
- Specified by:
putAll
in interfaceXPutGetCollection<E>
- Specified by:
putAll
in interfaceXPutGetEnum<E>
- Specified by:
putAll
in interfaceXPutGetSequence<E>
- Specified by:
putAll
in interfaceXPutGetSet<E>
- Specified by:
putAll
in interfaceXPuttingCollection<E>
- Specified by:
putAll
in interfaceXPuttingEnum<E>
- Specified by:
putAll
in interfaceXPuttingSequence<E>
- Specified by:
putAll
in interfaceXPuttingSet<E>
- Specified by:
putAll
in interfaceXSet<E>
-
putAll
- Specified by:
putAll
in interfaceXBasicSequence<E>
- Specified by:
putAll
in interfaceXCollection<E>
- Specified by:
putAll
in interfaceXPutGetCollection<E>
- Specified by:
putAll
in interfaceXPutGetEnum<E>
- Specified by:
putAll
in interfaceXPutGetSequence<E>
- Specified by:
putAll
in interfaceXPutGetSet<E>
- Specified by:
putAll
in interfaceXPuttingCollection<E>
- Specified by:
putAll
in interfaceXPuttingEnum<E>
- Specified by:
putAll
in interfaceXPuttingSequence<E>
- Specified by:
putAll
in interfaceXPuttingSet<E>
- Specified by:
putAll
in interfaceXSet<E>
-
addAll
- Specified by:
addAll
in interfaceXAddGetCollection<E>
- Specified by:
addAll
in interfaceXAddGetSet<E>
- Specified by:
addAll
in interfaceXAddingCollection<E>
- Specified by:
addAll
in interfaceXAddingEnum<E>
- Specified by:
addAll
in interfaceXAddingSequence<E>
- Specified by:
addAll
in interfaceXAddingSet<E>
- Specified by:
addAll
in interfaceXBasicSequence<E>
- Specified by:
addAll
in interfaceXCollection<E>
- Specified by:
addAll
in interfaceXPutGetCollection<E>
- Specified by:
addAll
in interfaceXPutGetEnum<E>
- Specified by:
addAll
in interfaceXPutGetSequence<E>
- Specified by:
addAll
in interfaceXPutGetSet<E>
- Specified by:
addAll
in interfaceXPuttingEnum<E>
- Specified by:
addAll
in interfaceXPuttingSet<E>
- Specified by:
addAll
in interfaceXSet<E>
-
addAll
- Specified by:
addAll
in interfaceXAddGetCollection<E>
- Specified by:
addAll
in interfaceXAddGetSet<E>
- Specified by:
addAll
in interfaceXAddingCollection<E>
- Specified by:
addAll
in interfaceXAddingEnum<E>
- Specified by:
addAll
in interfaceXAddingSequence<E>
- Specified by:
addAll
in interfaceXAddingSet<E>
- Specified by:
addAll
in interfaceXBasicSequence<E>
- Specified by:
addAll
in interfaceXCollection<E>
- Specified by:
addAll
in interfaceXPutGetCollection<E>
- Specified by:
addAll
in interfaceXPutGetEnum<E>
- Specified by:
addAll
in interfaceXPutGetSequence<E>
- Specified by:
addAll
in interfaceXPutGetSet<E>
- Specified by:
addAll
in interfaceXPuttingEnum<E>
- Specified by:
addAll
in interfaceXPuttingSet<E>
- Specified by:
addAll
in interfaceXSet<E>
-
addAll
- Specified by:
addAll
in interfaceXAddGetCollection<E>
- Specified by:
addAll
in interfaceXAddGetSet<E>
- Specified by:
addAll
in interfaceXAddingCollection<E>
- Specified by:
addAll
in interfaceXAddingEnum<E>
- Specified by:
addAll
in interfaceXAddingSequence<E>
- Specified by:
addAll
in interfaceXAddingSet<E>
- Specified by:
addAll
in interfaceXBasicSequence<E>
- Specified by:
addAll
in interfaceXCollection<E>
- Specified by:
addAll
in interfaceXPutGetCollection<E>
- Specified by:
addAll
in interfaceXPutGetEnum<E>
- Specified by:
addAll
in interfaceXPutGetSequence<E>
- Specified by:
addAll
in interfaceXPutGetSet<E>
- Specified by:
addAll
in interfaceXPuttingEnum<E>
- Specified by:
addAll
in interfaceXPuttingSet<E>
- Specified by:
addAll
in interfaceXSet<E>
-
copy
XBasicEnum<E> copy()Description copied from interface:XGettingCollection
Creates 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:
copy
in interfaceCopyable
- Specified by:
copy
in interfaceXAddGetCollection<E>
- Specified by:
copy
in interfaceXAddGetSet<E>
- Specified by:
copy
in interfaceXBasicSequence<E>
- Specified by:
copy
in interfaceXCollection<E>
- Specified by:
copy
in interfaceXGettingCollection<E>
- Specified by:
copy
in interfaceXGettingEnum<E>
- Specified by:
copy
in interfaceXGettingSequence<E>
- Specified by:
copy
in interfaceXGettingSet<E>
- Specified by:
copy
in interfaceXProcessingEnum<E>
- Specified by:
copy
in interfaceXProcessingSet<E>
- Specified by:
copy
in interfaceXPutGetCollection<E>
- Specified by:
copy
in interfaceXPutGetEnum<E>
- Specified by:
copy
in interfaceXPutGetSequence<E>
- Specified by:
copy
in interfaceXPutGetSet<E>
- Specified by:
copy
in interfaceXSet<E>
- Returns:
- a copy of this list
-
toReversed
XBasicEnum<E> toReversed()- Specified by:
toReversed
in interfaceXBasicSequence<E>
- Specified by:
toReversed
in interfaceXGettingEnum<E>
- Specified by:
toReversed
in interfaceXGettingSequence<E>
- Specified by:
toReversed
in interfaceXProcessingEnum<E>
- Specified by:
toReversed
in interfaceXProcessingSequence<E>
- Specified by:
toReversed
in interfaceXPutGetEnum<E>
- Specified by:
toReversed
in interfaceXPutGetSequence<E>
-
immure
XImmutableEnum<E> immure()Description copied from interface:XGettingCollection
Provides 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:
immure
in interfaceXGettingCollection<E>
- Specified by:
immure
in interfaceXGettingEnum<E>
- Specified by:
immure
in interfaceXGettingSequence<E>
- Specified by:
immure
in interfaceXGettingSet<E>
- Specified by:
immure
in interfaceXProcessingSet<E>
- Returns:
- an immutable copy of this collection instance.
-