Interface XBasicSequence<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>,XAddingCollection<E>,XAddingSequence<E>,XCollection<E>,XGettingCollection<E>,XGettingSequence<E>,XIndexIterable<E>,XIterable<E>,XJoinable<E>,XProcessingCollection<E>,XProcessingSequence<E>,XPutGetCollection<E>,XPutGetSequence<E>,XPuttingCollection<E>,XPuttingSequence<E>,XRemovingCollection<E>,XRemovingSequence<E>
- All Known Subinterfaces:
XBasicEnum<E>,XBasicList<E>,XBasicTable<K,V>,XBasicTable.Keys<K,V>,XChart<K,V>,XChart.Keys<K,V>,XEnum<E>,XLadder<E>,XList<E>,XRank<E>,XSequence<E>,XSortation<E>,XTable<K,V>,XTable.Keys<K,V>
- All Known Implementing Classes:
ArrayCollector,BulkList,EqBulkList,EqHashEnum,EqHashTable,EqHashTable.Keys,HashEnum,HashTable,HashTable.Keys,LimitList,LockedList,Single,SubList,SynchList
public interface XBasicSequence<E> extends XCollection<E>, XPutGetSequence<E>, XProcessingSequence<E>
Intermediate sequence type providing getting, adding, removing concerns to act as a common super type forXSequenceandXSortation. This is necessary becauseXSortationcannot provide the otherwise typical sequence concerns like inserting and ordering due to the limitations of the characteristic of being always sorted.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceXBasicSequence.Factory<E>-
Nested classes/interfaces inherited from interface one.microstream.typing.Copyable
Copyable.Static
-
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>
-
Nested classes/interfaces inherited from interface one.microstream.collections.types.XPutGetCollection
XPutGetCollection.Creator<E>
-
Nested classes/interfaces inherited from interface one.microstream.collections.types.XPuttingSequence
XPuttingSequence.Creator<E>
-
-
Method Summary
Modifier and Type Method Description XBasicSequence<E>addAll(E... elements)XBasicSequence<E>addAll(E[] elements, int srcStartIndex, int srcLength)XBasicSequence<E>addAll(XGettingCollection<? extends E> elements)XBasicSequence<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.XBasicSequence<E>putAll(E... elements)XBasicSequence<E>putAll(E[] elements, int srcStartIndex, int srcLength)XBasicSequence<E>putAll(XGettingCollection<? extends E> elements)XBasicSequence<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.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.XGettingSequence
at, copySelection, first, get, hasIndex, immure, indexBy, indexOf, isSorted, last, lastIndexBy, lastIndexOf, maxIndex, minIndex, peek, poll, range, scan, view
-
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.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
XBasicSequence<E> putAll(E... elements)
- Specified by:
putAllin interfaceXCollection<E>- Specified by:
putAllin interfaceXPutGetCollection<E>- Specified by:
putAllin interfaceXPutGetSequence<E>- Specified by:
putAllin interfaceXPuttingCollection<E>- Specified by:
putAllin interfaceXPuttingSequence<E>
-
putAll
XBasicSequence<E> putAll(E[] elements, int srcStartIndex, int srcLength)
- Specified by:
putAllin interfaceXCollection<E>- Specified by:
putAllin interfaceXPutGetCollection<E>- Specified by:
putAllin interfaceXPutGetSequence<E>- Specified by:
putAllin interfaceXPuttingCollection<E>- Specified by:
putAllin interfaceXPuttingSequence<E>
-
putAll
XBasicSequence<E> putAll(XGettingCollection<? extends E> elements)
- Specified by:
putAllin interfaceXCollection<E>- Specified by:
putAllin interfaceXPutGetCollection<E>- Specified by:
putAllin interfaceXPutGetSequence<E>- Specified by:
putAllin interfaceXPuttingCollection<E>- Specified by:
putAllin interfaceXPuttingSequence<E>
-
addAll
XBasicSequence<E> addAll(E... elements)
- Specified by:
addAllin interfaceXAddGetCollection<E>- Specified by:
addAllin interfaceXAddingCollection<E>- Specified by:
addAllin interfaceXAddingSequence<E>- Specified by:
addAllin interfaceXCollection<E>- Specified by:
addAllin interfaceXPutGetCollection<E>- Specified by:
addAllin interfaceXPutGetSequence<E>
-
addAll
XBasicSequence<E> addAll(E[] elements, int srcStartIndex, int srcLength)
- Specified by:
addAllin interfaceXAddGetCollection<E>- Specified by:
addAllin interfaceXAddingCollection<E>- Specified by:
addAllin interfaceXAddingSequence<E>- Specified by:
addAllin interfaceXCollection<E>- Specified by:
addAllin interfaceXPutGetCollection<E>- Specified by:
addAllin interfaceXPutGetSequence<E>
-
addAll
XBasicSequence<E> addAll(XGettingCollection<? extends E> elements)
- Specified by:
addAllin interfaceXAddGetCollection<E>- Specified by:
addAllin interfaceXAddingCollection<E>- Specified by:
addAllin interfaceXAddingSequence<E>- Specified by:
addAllin interfaceXCollection<E>- Specified by:
addAllin interfaceXPutGetCollection<E>- Specified by:
addAllin interfaceXPutGetSequence<E>
-
copy
XBasicSequence<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 interfaceXCollection<E>- Specified by:
copyin interfaceXGettingCollection<E>- Specified by:
copyin interfaceXGettingSequence<E>- Specified by:
copyin interfaceXPutGetCollection<E>- Specified by:
copyin interfaceXPutGetSequence<E>- Returns:
- a copy of this list
-
toReversed
XBasicSequence<E> toReversed()
- Specified by:
toReversedin interfaceXGettingSequence<E>- Specified by:
toReversedin interfaceXProcessingSequence<E>- Specified by:
toReversedin interfaceXPutGetSequence<E>
-
-