Interface XProcessingSequence<E>
- All Superinterfaces:
CapacityCarrying,Clearable,ConsolidatableCollection,Copyable,ExtendedCollection<E>,ExtendedSequence<E>,Iterable<E>,OptimizableCollection,Processable<E>,ReleasingCollection<E>,Sized,Truncateable,XGettingCollection<E>,XGettingSequence<E>,XIndexIterable<E>,XIterable<E>,XJoinable<E>,XProcessingCollection<E>,XRemovingCollection<E>,XRemovingSequence<E>
- All Known Subinterfaces:
XBasicEnum<E>,XBasicList<E>,XBasicSequence<E>,XBasicTable<K,V>,XBasicTable.Keys<K,V>,XBasicTable.Values<K,V>,XChart<K,V>,XChart.Keys<K,V>,XChart.Values<K,V>,XDecreasingEnum<E>,XDecreasingList<E>,XDecreasingSequence<E>,XEnum<E>,XLadder<E>,XList<E>,XProcessingEnum<E>,XProcessingList<E>,XProcessingSortation<E>,XRank<E>,XSequence<E>,XSortation<E>,XTable<K,V>,XTable.Keys<K,V>,XTable.Values<K,V>
- All Known Implementing Classes:
ArrayCollector,BulkList,EnumProcessor,EqBulkList,EqHashEnum,EqHashTable,EqHashTable.Keys,EqHashTable.Values,HashEnum,HashTable,HashTable.Keys,HashTable.Values,LimitList,ListProcessor,LockedList,Single,SubList,SubListProcessor,SubProcessor,SynchList
public interface XProcessingSequence<E> extends XRemovingSequence<E>, XGettingSequence<E>, XProcessingCollection<E>
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceXProcessingSequence.Factory<E>Nested classes/interfaces inherited from interface one.microstream.collections.interfaces.ExtendedCollection
ExtendedCollection.Creator<E,C extends ExtendedCollection<E>>Nested classes/interfaces inherited from interface one.microstream.collections.types.XGettingCollection
XGettingCollection.Creator<E>Nested classes/interfaces inherited from interface one.microstream.collections.types.XIterable
XIterable.Executor<E> -
Method Summary
Modifier and Type Method Description <C extends Consumer<? super E>>
CmoveSelection(C target, long... indices)Epick()Epop()EremoveAt(long index)XProcessingSequence<E>toReversed()Creates a newXGettingSequencewith the reversed order of elements.XGettingSequence<E>view(long fromIndex, long toIndex)Creates a sub-view of this collection and returns it.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, copy, copySelection, first, get, hasIndex, immure, indexBy, indexOf, isSorted, last, lastIndexBy, lastIndexOf, maxIndex, minIndex, peek, poll, range, scan, viewMethods inherited from interface one.microstream.collections.types.XProcessingCollection
fetch, iterate, moveTo, pinch, removeBy, removeDuplicates, retrieve, retrieveByMethods inherited from interface one.microstream.collections.types.XRemovingCollection
clear, consolidate, nullRemove, optimize, remove, removeAll, removeDuplicates, removeOne, retainAll, truncateMethods inherited from interface one.microstream.collections.types.XRemovingSequence
removeRange, removeSelection, retainRange
-
Method Details
-
removeAt
-
pop
E pop() -
pick
E pick() -
toReversed
XProcessingSequence<E> toReversed()Description copied from interface:XGettingSequenceCreates a newXGettingSequencewith the reversed order of elements.This method creates a new collection and does not change the existing collection.
- Specified by:
toReversedin interfaceXGettingSequence<E>- Returns:
- New copy of the collection
-
moveSelection
-
view
Description copied from interface:XGettingSequenceCreates a sub-view of this collection and returns it. It is a read-only collection, which wraps around this collection and only allows read methods.
The view is limited to a range from the lowIndex to the highIndex.A view is different from immutable collection (
XGettingCollection.immure()) in the way, that changes in this collection are still affecting the view. The immutable collection on the other hand has no reference to this collection and changes therefore do not affect the immutable collection.- Specified by:
viewin interfaceXGettingSequence<E>- Parameters:
fromIndex- defines lower boundary for the view of the collection.toIndex- defines higher boundary for the view of the collection.- Returns:
- new read-only collection to view a range of elements in this collection
-