Interface XBasicList<E>
- Type Parameters:
E-
- All Superinterfaces:
CapacityCarrying,CapacityExtendable,Clearable,ConsolidatableCollection,Consumer<E>,Copyable,ExtendedBag<E>,ExtendedCollection<E>,ExtendedList<E>,ExtendedSequence<E>,Iterable<E>,OptimizableCollection,Processable<E>,ReleasingCollection<E>,Sized,Truncateable,XAddGetCollection<E>,XAddingBag<E>,XAddingCollection<E>,XAddingList<E>,XAddingSequence<E>,XBag<E>,XBasicSequence<E>,XCollection<E>,XGettingBag<E>,XGettingCollection<E>,XGettingList<E>,XGettingSequence<E>,XIndexIterable<E>,XIterable<E>,XJoinable<E>,XProcessingBag<E>,XProcessingCollection<E>,XProcessingList<E>,XProcessingSequence<E>,XPutGetBag<E>,XPutGetCollection<E>,XPutGetList<E>,XPutGetSequence<E>,XPuttingBag<E>,XPuttingCollection<E>,XPuttingList<E>,XPuttingSequence<E>,XRemovingBag<E>,XRemovingCollection<E>,XRemovingList<E>,XRemovingSequence<E>
- All Known Implementing Classes:
ArrayCollector,BulkList,EqBulkList,LimitList,LockedList,Single,SubList,SynchList
public interface XBasicList<E> extends XBag<E>, XBasicSequence<E>, XPutGetList<E>, XProcessingList<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 interfaceXBasicList.Creator<E>Nested classes/interfaces inherited from interface one.microstream.collections.types.XBag
XBag.Factory<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.XIterable
XIterable.Executor<E>Nested classes/interfaces inherited from interface one.microstream.collections.types.XProcessingList
XProcessingList.Factory<E>Nested classes/interfaces inherited from interface one.microstream.collections.types.XPutGetList
XPutGetList.Factory<E> -
Method Summary
Modifier and Type Method Description XBasicList<E>addAll(E... elements)XBasicList<E>addAll(E[] elements, int srcStartIndex, int srcLength)XBasicList<E>addAll(XGettingCollection<? extends E> elements)XBasicList<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.XBasicList<E>putAll(E... elements)XBasicList<E>putAll(E[] elements, int srcStartIndex, int srcLength)XBasicList<E>putAll(XGettingCollection<? extends E> elements)XBasicList<E>toReversed()Methods inherited from interface one.microstream.collections.interfaces.CapacityCarrying
isFull, maximumCapacity, remainingCapacityMethods inherited from interface one.microstream.collections.interfaces.CapacityExtendable
currentCapacity, currentFreeCapacity, ensureCapacity, ensureFreeCapacityMethods inherited from interface one.microstream.collections.interfaces.ExtendedCollection
nullAllowedMethods inherited from interface one.microstream.collections.types.XAddingCollection
accept, add, nullAddMethods 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, search, seek, size, toArray, toArray, unionMethods inherited from interface one.microstream.collections.types.XGettingList
immure, listIterator, listIterator, old, range, view, viewMethods inherited from interface one.microstream.collections.types.XGettingSequence
at, copySelection, first, get, hasIndex, indexBy, indexOf, isSorted, last, lastIndexBy, lastIndexOf, maxIndex, minIndex, peek, poll, scanMethods inherited from interface one.microstream.collections.types.XProcessingCollection
fetch, iterate, moveTo, pinch, removeBy, removeDuplicates, retrieve, retrieveByMethods inherited from interface one.microstream.collections.types.XProcessingSequence
moveSelection, pick, pop, removeAt, viewMethods 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
-
putAll
- Specified by:
putAllin interfaceXBag<E>- Specified by:
putAllin interfaceXBasicSequence<E>- Specified by:
putAllin interfaceXCollection<E>- Specified by:
putAllin interfaceXPutGetCollection<E>- Specified by:
putAllin interfaceXPutGetList<E>- Specified by:
putAllin interfaceXPutGetSequence<E>- Specified by:
putAllin interfaceXPuttingBag<E>- Specified by:
putAllin interfaceXPuttingCollection<E>- Specified by:
putAllin interfaceXPuttingList<E>- Specified by:
putAllin interfaceXPuttingSequence<E>
-
putAll
- Specified by:
putAllin interfaceXBag<E>- Specified by:
putAllin interfaceXBasicSequence<E>- Specified by:
putAllin interfaceXCollection<E>- Specified by:
putAllin interfaceXPutGetCollection<E>- Specified by:
putAllin interfaceXPutGetList<E>- Specified by:
putAllin interfaceXPutGetSequence<E>- Specified by:
putAllin interfaceXPuttingBag<E>- Specified by:
putAllin interfaceXPuttingCollection<E>- Specified by:
putAllin interfaceXPuttingList<E>- Specified by:
putAllin interfaceXPuttingSequence<E>
-
putAll
- Specified by:
putAllin interfaceXBag<E>- Specified by:
putAllin interfaceXBasicSequence<E>- Specified by:
putAllin interfaceXCollection<E>- Specified by:
putAllin interfaceXPutGetCollection<E>- Specified by:
putAllin interfaceXPutGetList<E>- Specified by:
putAllin interfaceXPutGetSequence<E>- Specified by:
putAllin interfaceXPuttingBag<E>- Specified by:
putAllin interfaceXPuttingCollection<E>- Specified by:
putAllin interfaceXPuttingList<E>- Specified by:
putAllin interfaceXPuttingSequence<E>
-
addAll
- Specified by:
addAllin interfaceXAddGetCollection<E>- Specified by:
addAllin interfaceXAddingBag<E>- Specified by:
addAllin interfaceXAddingCollection<E>- Specified by:
addAllin interfaceXAddingList<E>- Specified by:
addAllin interfaceXAddingSequence<E>- Specified by:
addAllin interfaceXBag<E>- Specified by:
addAllin interfaceXBasicSequence<E>- Specified by:
addAllin interfaceXCollection<E>- Specified by:
addAllin interfaceXPutGetCollection<E>- Specified by:
addAllin interfaceXPutGetList<E>- Specified by:
addAllin interfaceXPutGetSequence<E>- Specified by:
addAllin interfaceXPuttingBag<E>- Specified by:
addAllin interfaceXPuttingList<E>
-
addAll
- Specified by:
addAllin interfaceXAddGetCollection<E>- Specified by:
addAllin interfaceXAddingBag<E>- Specified by:
addAllin interfaceXAddingCollection<E>- Specified by:
addAllin interfaceXAddingList<E>- Specified by:
addAllin interfaceXAddingSequence<E>- Specified by:
addAllin interfaceXBag<E>- Specified by:
addAllin interfaceXBasicSequence<E>- Specified by:
addAllin interfaceXCollection<E>- Specified by:
addAllin interfaceXPutGetCollection<E>- Specified by:
addAllin interfaceXPutGetList<E>- Specified by:
addAllin interfaceXPutGetSequence<E>- Specified by:
addAllin interfaceXPuttingBag<E>- Specified by:
addAllin interfaceXPuttingList<E>
-
addAll
- Specified by:
addAllin interfaceXAddGetCollection<E>- Specified by:
addAllin interfaceXAddingBag<E>- Specified by:
addAllin interfaceXAddingCollection<E>- Specified by:
addAllin interfaceXAddingList<E>- Specified by:
addAllin interfaceXAddingSequence<E>- Specified by:
addAllin interfaceXBag<E>- Specified by:
addAllin interfaceXBasicSequence<E>- Specified by:
addAllin interfaceXCollection<E>- Specified by:
addAllin interfaceXPutGetCollection<E>- Specified by:
addAllin interfaceXPutGetList<E>- Specified by:
addAllin interfaceXPutGetSequence<E>- Specified by:
addAllin interfaceXPuttingBag<E>- Specified by:
addAllin interfaceXPuttingList<E>
-
copy
XBasicList<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 interfaceXBag<E>- Specified by:
copyin interfaceXBasicSequence<E>- Specified by:
copyin interfaceXCollection<E>- Specified by:
copyin interfaceXGettingBag<E>- Specified by:
copyin interfaceXGettingCollection<E>- Specified by:
copyin interfaceXGettingList<E>- Specified by:
copyin interfaceXGettingSequence<E>- Specified by:
copyin interfaceXProcessingBag<E>- Specified by:
copyin interfaceXProcessingList<E>- Specified by:
copyin interfaceXPutGetCollection<E>- Specified by:
copyin interfaceXPutGetList<E>- Specified by:
copyin interfaceXPutGetSequence<E>- Returns:
- a copy of this list
-
toReversed
XBasicList<E> toReversed()- Specified by:
toReversedin interfaceXBasicSequence<E>- Specified by:
toReversedin interfaceXGettingList<E>- Specified by:
toReversedin interfaceXGettingSequence<E>- Specified by:
toReversedin interfaceXProcessingList<E>- Specified by:
toReversedin interfaceXProcessingSequence<E>- Specified by:
toReversedin interfaceXPutGetList<E>- Specified by:
toReversedin interfaceXPutGetSequence<E>
-