Interface XSettingSequence<E>
-
- All Superinterfaces:
CapacityCarrying
,Copyable
,ExtendedCollection<E>
,ExtendedSequence<E>
,Iterable<E>
,ReleasingCollection<E>
,Sized
,Sortable<E>
,XGettingCollection<E>
,XGettingSequence<E>
,XIndexIterable<E>
,XIterable<E>
,XJoinable<E>
,XOrderingSequence<E>
,XSortableSequence<E>
- All Known Subinterfaces:
XBasicTable.Values<K,V>
,XChart.Values<K,V>
,XDecreasingEnum<E>
,XDecreasingList<E>
,XDecreasingSequence<E>
,XEnum<E>
,XIncreasingList<E>
,XList<E>
,XReference<E>
,XSettingEnum<E>
,XSettingList<E>
,XTable<K,V>
,XTable.Keys<K,V>
,XTable.Values<K,V>
- All Known Implementing Classes:
ArrayAccessor
,ArrayCollector
,BulkList
,EqBulkList
,EqHashEnum
,EqHashTable
,EqHashTable.Keys
,EqHashTable.Values
,FixedList
,HashEnum
,HashTable
,HashTable.Keys
,HashTable.Values
,LimitList
,LinkReference.Default
,ListAccessor
,LockedList
,Single
,Singleton
,SubList
,SubListAccessor
,SubListProcessor
,SynchList
public interface XSettingSequence<E> extends XSortableSequence<E>, ReleasingCollection<E>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
XSettingSequence.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 XSettingSequence<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.XSettingSequence<E>
range(long fromIndex, long toIndex)
XSettingSequence<E>
reverse()
boolean
set(long index, E element)
XSettingSequence<E>
set(long index, E[] elements, int offset, int length)
XSettingSequence<E>
set(long index, XGettingSequence<? extends E> elements, long offset, long length)
XSettingSequence<E>
setAll(long index, E... elements)
void
setFirst(E element)
E
setGet(long index, E element)
void
setLast(E element)
XSettingSequence<E>
sort(Comparator<? super E> comparator)
XSettingSequence<E>
swap(long indexA, long indexB)
XSettingSequence<E>
swap(long indexA, long indexB, long length)
XSettingSequence<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.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.XSortableSequence
shiftBy, shiftBy, shiftTo, shiftTo
-
-
-
-
Method Detail
-
set
boolean set(long index, E element)
-
setFirst
void setFirst(E element)
-
setLast
void setLast(E element)
-
setAll
XSettingSequence<E> setAll(long index, E... elements)
-
set
XSettingSequence<E> set(long index, E[] elements, int offset, int length)
-
set
XSettingSequence<E> set(long index, XGettingSequence<? extends E> elements, long offset, long length)
-
swap
XSettingSequence<E> swap(long indexA, long indexB)
- Specified by:
swap
in interfaceXOrderingSequence<E>
- Specified by:
swap
in interfaceXSortableSequence<E>
-
swap
XSettingSequence<E> swap(long indexA, long indexB, long length)
- Specified by:
swap
in interfaceXOrderingSequence<E>
- Specified by:
swap
in interfaceXSortableSequence<E>
-
reverse
XSettingSequence<E> reverse()
- Specified by:
reverse
in interfaceXOrderingSequence<E>
- Specified by:
reverse
in interfaceXSortableSequence<E>
-
sort
XSettingSequence<E> sort(Comparator<? super E> comparator)
-
copy
XSettingSequence<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
XSettingSequence<E> toReversed()
- Specified by:
toReversed
in interfaceXGettingSequence<E>
- Specified by:
toReversed
in interfaceXSortableSequence<E>
-
range
XSettingSequence<E> range(long fromIndex, long toIndex)
- Specified by:
range
in interfaceXGettingSequence<E>
-
-