Interface XDecreasingList<E>
-
- All Superinterfaces:
CapacityCarrying,Clearable,ConsolidatableCollection,Copyable,ExtendedBag<E>,ExtendedCollection<E>,ExtendedList<E>,ExtendedSequence<E>,Iterable<E>,OptimizableCollection,Processable<E>,ReleasingCollection<E>,Sized,Sortable<E>,Truncateable,XDecreasingSequence<E>,XGettingBag<E>,XGettingCollection<E>,XGettingList<E>,XGettingSequence<E>,XIndexIterable<E>,XIterable<E>,XJoinable<E>,XOrderingSequence<E>,XProcessingBag<E>,XProcessingCollection<E>,XProcessingList<E>,XProcessingSequence<E>,XRemovingBag<E>,XRemovingCollection<E>,XRemovingList<E>,XRemovingSequence<E>,XReplacingBag<E>,XReplacingCollection<E>,XSettingList<E>,XSettingSequence<E>,XSortableSequence<E>
- All Known Subinterfaces:
XBasicTable.Values<K,V>,XChart.Values<K,V>,XList<E>,XTable.Values<K,V>
- All Known Implementing Classes:
ArrayCollector,BulkList,EqBulkList,EqHashTable.Values,HashTable.Values,LimitList,LockedList,Single,SubList,SubListProcessor,SynchList
public interface XDecreasingList<E> extends XProcessingList<E>, XSettingList<E>, XDecreasingSequence<E>
Intermediate list type that combines all list aspects except increasing (adding and inserting), effectively causing instances of this list type to maintain its size or shrink, but never grow.This type is primarily used for the values list of a map, which can offer all functionality except adding values (without mapping it to a key).
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceXDecreasingList.Creator<E>-
Nested classes/interfaces inherited from interface one.microstream.typing.Copyable
Copyable.Static
-
Nested classes/interfaces inherited from interface one.microstream.collections.types.XGettingList
XGettingList.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.XProcessingList
XProcessingList.Factory<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.XReplacingBag
XReplacingBag.Factory<E>
-
-
Method Summary
Modifier and Type Method Description XDecreasingList<E>copy()Creates a true copy of this list which references th same elements in the same order as this list does at the time the method is called.XDecreasingList<E>fill(long offset, long length, E element)XDecreasingList<E>range(long fromIndex, long toIndex)XDecreasingList<E>reverse()XDecreasingList<E>set(long index, E[] elements, int offset, int length)XDecreasingList<E>set(long index, XGettingSequence<? extends E> elements, long offset, long length)XDecreasingList<E>setAll(long index, E... elements)XDecreasingList<E>sort(Comparator<? super E> comparator)XDecreasingList<E>swap(long indexA, long indexB)XDecreasingList<E>swap(long indexA, long indexB, long length)XDecreasingList<E>toReversed()-
Methods inherited from interface one.microstream.collections.interfaces.CapacityCarrying
isFull, maximumCapacity, remainingCapacity
-
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.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, union
-
Methods inherited from interface one.microstream.collections.types.XGettingList
immure, listIterator, listIterator, old, 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.XIndexIterable
iterateIndexed
-
Methods inherited from interface one.microstream.collections.types.XProcessingBag
immure, view
-
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
-
Methods inherited from interface one.microstream.collections.types.XReplacingBag
replace, replace, replaceAll, replaceOne, replaceOne, substitute
-
Methods inherited from interface one.microstream.collections.types.XReplacingCollection
substitute
-
Methods inherited from interface one.microstream.collections.types.XSettingSequence
set, setFirst, setGet, setLast
-
Methods inherited from interface one.microstream.collections.types.XSortableSequence
shiftBy, shiftBy, shiftTo, shiftTo
-
-
-
-
Method Detail
-
setAll
XDecreasingList<E> setAll(long index, E... elements)
- Specified by:
setAllin interfaceXDecreasingSequence<E>- Specified by:
setAllin interfaceXSettingList<E>- Specified by:
setAllin interfaceXSettingSequence<E>
-
set
XDecreasingList<E> set(long index, E[] elements, int offset, int length)
- Specified by:
setin interfaceXDecreasingSequence<E>- Specified by:
setin interfaceXSettingList<E>- Specified by:
setin interfaceXSettingSequence<E>
-
set
XDecreasingList<E> set(long index, XGettingSequence<? extends E> elements, long offset, long length)
- Specified by:
setin interfaceXDecreasingSequence<E>- Specified by:
setin interfaceXSettingList<E>- Specified by:
setin interfaceXSettingSequence<E>
-
swap
XDecreasingList<E> swap(long indexA, long indexB)
- Specified by:
swapin interfaceXDecreasingSequence<E>- Specified by:
swapin interfaceXOrderingSequence<E>- Specified by:
swapin interfaceXSettingList<E>- Specified by:
swapin interfaceXSettingSequence<E>- Specified by:
swapin interfaceXSortableSequence<E>
-
swap
XDecreasingList<E> swap(long indexA, long indexB, long length)
- Specified by:
swapin interfaceXDecreasingSequence<E>- Specified by:
swapin interfaceXOrderingSequence<E>- Specified by:
swapin interfaceXSettingList<E>- Specified by:
swapin interfaceXSettingSequence<E>- Specified by:
swapin interfaceXSortableSequence<E>
-
copy
XDecreasingList<E> copy()
Description copied from interface:XGettingSequenceCreates a true copy of this list which references th same elements in the same order as this list does at the time the method is called. The elements themselves are NOT copied (no deep copying).
The type of the returned list is the same as of this list if possible (i.e.: a SubList can not meaningful return a true copy that references its elements but still is a SubList)- Specified by:
copyin interfaceCopyable- Specified by:
copyin interfaceXDecreasingSequence<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 interfaceXReplacingBag<E>- Specified by:
copyin interfaceXSettingList<E>- Specified by:
copyin interfaceXSettingSequence<E>- Specified by:
copyin interfaceXSortableSequence<E>- Returns:
- a copy of this list
-
toReversed
XDecreasingList<E> toReversed()
- Specified by:
toReversedin interfaceXDecreasingSequence<E>- Specified by:
toReversedin interfaceXGettingList<E>- Specified by:
toReversedin interfaceXGettingSequence<E>- Specified by:
toReversedin interfaceXProcessingList<E>- Specified by:
toReversedin interfaceXProcessingSequence<E>- Specified by:
toReversedin interfaceXSettingList<E>- Specified by:
toReversedin interfaceXSettingSequence<E>- Specified by:
toReversedin interfaceXSortableSequence<E>
-
reverse
XDecreasingList<E> reverse()
- Specified by:
reversein interfaceXDecreasingSequence<E>- Specified by:
reversein interfaceXOrderingSequence<E>- Specified by:
reversein interfaceXSettingList<E>- Specified by:
reversein interfaceXSettingSequence<E>- Specified by:
reversein interfaceXSortableSequence<E>
-
range
XDecreasingList<E> range(long fromIndex, long toIndex)
- Specified by:
rangein interfaceXDecreasingSequence<E>- Specified by:
rangein interfaceXGettingList<E>- Specified by:
rangein interfaceXGettingSequence<E>- Specified by:
rangein interfaceXSettingList<E>- Specified by:
rangein interfaceXSettingSequence<E>
-
fill
XDecreasingList<E> fill(long offset, long length, E element)
- Specified by:
fillin interfaceXSettingList<E>
-
sort
XDecreasingList<E> sort(Comparator<? super E> comparator)
- Specified by:
sortin interfaceSortable<E>- Specified by:
sortin interfaceXDecreasingSequence<E>- Specified by:
sortin interfaceXSettingList<E>- Specified by:
sortin interfaceXSettingSequence<E>- Specified by:
sortin interfaceXSortableSequence<E>
-
-