Interface XGettingEnum<E>
- All Superinterfaces:
CapacityCarrying,Copyable,ExtendedCollection<E>,ExtendedSequence<E>,Iterable<E>,Sized,XGettingCollection<E>,XGettingSequence<E>,XGettingSet<E>,XIndexIterable<E>,XIterable<E>,XJoinable<E>
- All Known Subinterfaces:
XBasicEnum<E>,XBasicTable<K,V>,XBasicTable.Keys<K,V>,XChart<K,V>,XChart.Keys<K,V>,XDecreasingEnum<E>,XEnum<E>,XGettingTable<K,V>,XGettingTable.Keys<K,V>,XImmutableEnum<E>,XImmutableEnum.Factory<E>,XImmutableTable<K,V>,XImmutableTable.Keys<K,V>,XIncreasingEnum<E>,XProcessingEnum<E>,XPutGetEnum<E>,XRank<E>,XReference<E>,XReferencing<E>,XSettingEnum<E>,XSortableEnum<E>,XTable<K,V>,XTable.Keys<K,V>
- All Known Implementing Classes:
Constant,ConstHashEnum,ConstHashTable,ConstHashTable.Keys,ConstLinearEnum,Empty,EmptyTable,EnumProcessor,EnumView,EqConstHashEnum,EqConstHashTable,EqConstHashTable.Keys,EqHashEnum,EqHashTable,EqHashTable.Keys,HashEnum,HashTable,HashTable.Keys,LinkingReferencing.Default,LinkReference.Default,Single,Singleton,SingletonView,TableView
public interface XGettingEnum<E> extends XGettingSet<E>, XGettingSequence<E>
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceXGettingEnum.Creator<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> -
Method Summary
Modifier and Type Method Description XGettingEnum<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.<P extends Consumer<? super E>>
Piterate(P procedure)XGettingEnum<E>range(long lowIndex, long highIndex)XGettingEnum<E>toReversed()XGettingEnum<E>view()XGettingEnum<E>view(long lowIndex, long highIndex)Methods inherited from interface one.microstream.collections.interfaces.CapacityCarrying
isFull, maximumCapacity, remainingCapacityMethods inherited from interface one.microstream.collections.interfaces.ExtendedCollection
nullAllowedMethods 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, unionMethods inherited from interface one.microstream.collections.types.XGettingSequence
at, copySelection, first, get, hasIndex, indexBy, indexOf, isSorted, last, lastIndexBy, lastIndexOf, maxIndex, minIndex, peek, poll, scan
-
Method Details
-
immure
XImmutableEnum<E> immure()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:
immurein interfaceXGettingCollection<E>- Specified by:
immurein interfaceXGettingSequence<E>- Specified by:
immurein interfaceXGettingSet<E>- Returns:
- an immutable copy of this collection instance.
-
copy
XGettingEnum<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 interfaceXGettingCollection<E>- Specified by:
copyin interfaceXGettingSequence<E>- Specified by:
copyin interfaceXGettingSet<E>- Returns:
- a copy of this list
-
toReversed
XGettingEnum<E> toReversed()- Specified by:
toReversedin interfaceXGettingSequence<E>
-
view
XGettingEnum<E> view()- Specified by:
viewin interfaceXGettingCollection<E>- Specified by:
viewin interfaceXGettingSequence<E>
-
view
- Specified by:
viewin interfaceXGettingSequence<E>
-
range
- Specified by:
rangein interfaceXGettingSequence<E>
-
iterate
-