Interface XIncreasingSequence<E>
-
- All Superinterfaces:
CapacityCarrying
,CapacityExtendable
,Consumer<E>
,Copyable
,ExtendedCollection<E>
,ExtendedSequence<E>
,Iterable<E>
,OptimizableCollection
,Sized
,Sortable<E>
,SortableProcedure<E>
,XAddingCollection<E>
,XAddingSequence<E>
,XExpandingSequence<E>
,XExtendingSequence<E>
,XGettingCollection<E>
,XGettingSequence<E>
,XIndexIterable<E>
,XInputtingSequence<E>
,XInsertingSequence<E>
,XIterable<E>
,XJoinable<E>
,XOrderingSequence<E>
,XPrependingSequence<E>
,XPreputtingSequence<E>
,XPuttingCollection<E>
,XPuttingSequence<E>
,XSortableSequence<E>
- All Known Subinterfaces:
XEnum<E>
,XIncreasingEnum<E>
,XIncreasingList<E>
,XList<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 XIncreasingSequence<E> extends XInputtingSequence<E>, XSortableSequence<E>, SortableProcedure<E>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
XIncreasingSequence.Creator<E>
-
Nested classes/interfaces inherited from interface one.microstream.typing.Copyable
Copyable.Static
-
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 XIncreasingSequence<E>
addAll(E... elements)
XIncreasingSequence<E>
addAll(E[] elements, int offset, int length)
XIncreasingSequence<E>
addAll(XGettingCollection<? extends E> elements)
XIncreasingSequence<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.XIncreasingSequence<E>
prependAll(E... elements)
XIncreasingSequence<E>
prependAll(E[] elements, int offset, int length)
XIncreasingSequence<E>
prependAll(XGettingCollection<? extends E> elements)
XIncreasingSequence<E>
preputAll(E... elements)
XIncreasingSequence<E>
preputAll(E[] elements, int offset, int length)
XIncreasingSequence<E>
preputAll(XGettingCollection<? extends E> elements)
XIncreasingSequence<E>
putAll(E... elements)
XIncreasingSequence<E>
putAll(E[] elements, int offset, int length)
XIncreasingSequence<E>
putAll(XGettingCollection<? extends E> elements)
XIncreasingSequence<E>
range(long fromIndex, long toIndex)
XIncreasingSequence<E>
reverse()
XIncreasingSequence<E>
sort(Comparator<? super E> comparator)
XIncreasingSequence<E>
swap(long indexA, long indexB)
XIncreasingSequence<E>
swap(long indexA, long indexB, long length)
XIncreasingSequence<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.collections.interfaces.OptimizableCollection
optimize
-
Methods inherited from interface one.microstream.collections.types.XAddingCollection
accept, add, collector, nullAdd
-
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, scan, view, view
-
Methods inherited from interface one.microstream.collections.types.XIndexIterable
iterateIndexed
-
Methods inherited from interface one.microstream.collections.types.XInputtingSequence
input, inputAll, inputAll, inputAll, nullInput
-
Methods inherited from interface one.microstream.collections.types.XInsertingSequence
insert, insertAll, insertAll, insertAll, nullInsert
-
Methods inherited from interface one.microstream.collections.types.XPrependingSequence
nullPrepend, prepend
-
Methods inherited from interface one.microstream.collections.types.XPreputtingSequence
nullPreput, preput
-
Methods inherited from interface one.microstream.collections.types.XPuttingCollection
nullPut, put
-
Methods inherited from interface one.microstream.collections.types.XSortableSequence
shiftBy, shiftBy, shiftTo, shiftTo
-
-
-
-
Method Detail
-
addAll
XIncreasingSequence<E> addAll(E... elements)
- Specified by:
addAll
in interfaceXAddingCollection<E>
- Specified by:
addAll
in interfaceXAddingSequence<E>
- Specified by:
addAll
in interfaceXExpandingSequence<E>
- Specified by:
addAll
in interfaceXExtendingSequence<E>
- Specified by:
addAll
in interfaceXInputtingSequence<E>
- Specified by:
addAll
in interfaceXInsertingSequence<E>
-
addAll
XIncreasingSequence<E> addAll(E[] elements, int offset, int length)
- Specified by:
addAll
in interfaceXAddingCollection<E>
- Specified by:
addAll
in interfaceXAddingSequence<E>
- Specified by:
addAll
in interfaceXExpandingSequence<E>
- Specified by:
addAll
in interfaceXExtendingSequence<E>
- Specified by:
addAll
in interfaceXInputtingSequence<E>
- Specified by:
addAll
in interfaceXInsertingSequence<E>
-
addAll
XIncreasingSequence<E> addAll(XGettingCollection<? extends E> elements)
- Specified by:
addAll
in interfaceXAddingCollection<E>
- Specified by:
addAll
in interfaceXAddingSequence<E>
- Specified by:
addAll
in interfaceXExpandingSequence<E>
- Specified by:
addAll
in interfaceXExtendingSequence<E>
- Specified by:
addAll
in interfaceXInputtingSequence<E>
- Specified by:
addAll
in interfaceXInsertingSequence<E>
-
putAll
XIncreasingSequence<E> putAll(E... elements)
- Specified by:
putAll
in interfaceXExpandingSequence<E>
- Specified by:
putAll
in interfaceXInputtingSequence<E>
- Specified by:
putAll
in interfaceXPuttingCollection<E>
- Specified by:
putAll
in interfaceXPuttingSequence<E>
-
putAll
XIncreasingSequence<E> putAll(E[] elements, int offset, int length)
- Specified by:
putAll
in interfaceXExpandingSequence<E>
- Specified by:
putAll
in interfaceXInputtingSequence<E>
- Specified by:
putAll
in interfaceXPuttingCollection<E>
- Specified by:
putAll
in interfaceXPuttingSequence<E>
-
putAll
XIncreasingSequence<E> putAll(XGettingCollection<? extends E> elements)
- Specified by:
putAll
in interfaceXExpandingSequence<E>
- Specified by:
putAll
in interfaceXInputtingSequence<E>
- Specified by:
putAll
in interfaceXPuttingCollection<E>
- Specified by:
putAll
in interfaceXPuttingSequence<E>
-
prependAll
XIncreasingSequence<E> prependAll(E... elements)
- Specified by:
prependAll
in interfaceXExpandingSequence<E>
- Specified by:
prependAll
in interfaceXExtendingSequence<E>
- Specified by:
prependAll
in interfaceXInputtingSequence<E>
- Specified by:
prependAll
in interfaceXInsertingSequence<E>
- Specified by:
prependAll
in interfaceXPrependingSequence<E>
- Specified by:
prependAll
in interfaceXPreputtingSequence<E>
-
prependAll
XIncreasingSequence<E> prependAll(E[] elements, int offset, int length)
- Specified by:
prependAll
in interfaceXExpandingSequence<E>
- Specified by:
prependAll
in interfaceXExtendingSequence<E>
- Specified by:
prependAll
in interfaceXInputtingSequence<E>
- Specified by:
prependAll
in interfaceXInsertingSequence<E>
- Specified by:
prependAll
in interfaceXPrependingSequence<E>
- Specified by:
prependAll
in interfaceXPreputtingSequence<E>
-
prependAll
XIncreasingSequence<E> prependAll(XGettingCollection<? extends E> elements)
- Specified by:
prependAll
in interfaceXExpandingSequence<E>
- Specified by:
prependAll
in interfaceXExtendingSequence<E>
- Specified by:
prependAll
in interfaceXInputtingSequence<E>
- Specified by:
prependAll
in interfaceXInsertingSequence<E>
- Specified by:
prependAll
in interfaceXPrependingSequence<E>
- Specified by:
prependAll
in interfaceXPreputtingSequence<E>
-
preputAll
XIncreasingSequence<E> preputAll(E... elements)
- Specified by:
preputAll
in interfaceXExpandingSequence<E>
- Specified by:
preputAll
in interfaceXInputtingSequence<E>
- Specified by:
preputAll
in interfaceXPreputtingSequence<E>
-
preputAll
XIncreasingSequence<E> preputAll(E[] elements, int offset, int length)
- Specified by:
preputAll
in interfaceXExpandingSequence<E>
- Specified by:
preputAll
in interfaceXInputtingSequence<E>
- Specified by:
preputAll
in interfaceXPreputtingSequence<E>
-
preputAll
XIncreasingSequence<E> preputAll(XGettingCollection<? extends E> elements)
- Specified by:
preputAll
in interfaceXExpandingSequence<E>
- Specified by:
preputAll
in interfaceXInputtingSequence<E>
- Specified by:
preputAll
in interfaceXPreputtingSequence<E>
-
swap
XIncreasingSequence<E> swap(long indexA, long indexB)
- Specified by:
swap
in interfaceXOrderingSequence<E>
- Specified by:
swap
in interfaceXSortableSequence<E>
-
swap
XIncreasingSequence<E> swap(long indexA, long indexB, long length)
- Specified by:
swap
in interfaceXOrderingSequence<E>
- Specified by:
swap
in interfaceXSortableSequence<E>
-
copy
XIncreasingSequence<E> copy()
Description copied from interface:XGettingSequence
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. 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:
copy
in interfaceCopyable
- Specified by:
copy
in interfaceXGettingCollection<E>
- Specified by:
copy
in interfaceXGettingSequence<E>
- Specified by:
copy
in interfaceXSortableSequence<E>
- Returns:
- a copy of this list
-
toReversed
XIncreasingSequence<E> toReversed()
- Specified by:
toReversed
in interfaceXGettingSequence<E>
- Specified by:
toReversed
in interfaceXSortableSequence<E>
-
reverse
XIncreasingSequence<E> reverse()
- Specified by:
reverse
in interfaceXOrderingSequence<E>
- Specified by:
reverse
in interfaceXSortableSequence<E>
-
range
XIncreasingSequence<E> range(long fromIndex, long toIndex)
- Specified by:
range
in interfaceXGettingSequence<E>
-
sort
XIncreasingSequence<E> sort(Comparator<? super E> comparator)
-
-