Interface XSettingList<E>
-
- All Superinterfaces:
CapacityCarrying
,Copyable
,ExtendedBag<E>
,ExtendedCollection<E>
,ExtendedList<E>
,ExtendedSequence<E>
,Iterable<E>
,ReleasingCollection<E>
,Sized
,Sortable<E>
,XGettingBag<E>
,XGettingCollection<E>
,XGettingList<E>
,XGettingSequence<E>
,XIndexIterable<E>
,XIterable<E>
,XJoinable<E>
,XOrderingSequence<E>
,XReplacingBag<E>
,XReplacingCollection<E>
,XSettingSequence<E>
,XSortableSequence<E>
- All Known Subinterfaces:
XBasicTable.Values<K,V>
,XChart.Values<K,V>
,XDecreasingList<E>
,XIncreasingList<E>
,XList<E>
,XReference<E>
,XTable.Values<K,V>
- All Known Implementing Classes:
ArrayAccessor
,ArrayCollector
,BulkList
,EqBulkList
,EqHashTable.Values
,FixedList
,HashTable.Values
,LimitList
,LinkReference.Default
,ListAccessor
,LockedList
,Single
,Singleton
,SubList
,SubListAccessor
,SubListProcessor
,SynchList
public interface XSettingList<E> extends XReplacingBag<E>, XSettingSequence<E>, XGettingList<E>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
XSettingList.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.XReplacingBag
XReplacingBag.Factory<E>
-
-
Method Summary
Modifier and Type Method Description XSettingList<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.XSettingList<E>
fill(long offset, long length, E element)
XSettingList<E>
range(long fromIndex, long toIndex)
XSettingList<E>
reverse()
XSettingList<E>
set(long index, E[] elements, int offset, int length)
XSettingList<E>
set(long index, XGettingSequence<? extends E> elements, long offset, long length)
XSettingList<E>
setAll(long index, E... elements)
XSettingSequence<E>
sort(Comparator<? super E> comparator)
XSettingList<E>
swap(long indexA, long indexB)
XSettingList<E>
swap(long indexA, long indexB, long length)
XSettingList<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, 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.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
-
fill
XSettingList<E> fill(long offset, long length, E element)
-
setAll
XSettingList<E> setAll(long index, E... elements)
- Specified by:
setAll
in interfaceXSettingSequence<E>
-
set
XSettingList<E> set(long index, E[] elements, int offset, int length)
- Specified by:
set
in interfaceXSettingSequence<E>
-
set
XSettingList<E> set(long index, XGettingSequence<? extends E> elements, long offset, long length)
- Specified by:
set
in interfaceXSettingSequence<E>
-
swap
XSettingList<E> swap(long indexA, long indexB)
- Specified by:
swap
in interfaceXOrderingSequence<E>
- Specified by:
swap
in interfaceXSettingSequence<E>
- Specified by:
swap
in interfaceXSortableSequence<E>
-
swap
XSettingList<E> swap(long indexA, long indexB, long length)
- Specified by:
swap
in interfaceXOrderingSequence<E>
- Specified by:
swap
in interfaceXSettingSequence<E>
- Specified by:
swap
in interfaceXSortableSequence<E>
-
reverse
XSettingList<E> reverse()
- Specified by:
reverse
in interfaceXOrderingSequence<E>
- Specified by:
reverse
in interfaceXSettingSequence<E>
- Specified by:
reverse
in interfaceXSortableSequence<E>
-
sort
XSettingSequence<E> sort(Comparator<? super E> comparator)
- Specified by:
sort
in interfaceSortable<E>
- Specified by:
sort
in interfaceXSettingSequence<E>
- Specified by:
sort
in interfaceXSortableSequence<E>
-
copy
XSettingList<E> copy()
Description copied from interface:XGettingCollection
Creates 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:
copy
in interfaceCopyable
- Specified by:
copy
in interfaceXGettingBag<E>
- Specified by:
copy
in interfaceXGettingCollection<E>
- Specified by:
copy
in interfaceXGettingList<E>
- Specified by:
copy
in interfaceXGettingSequence<E>
- Specified by:
copy
in interfaceXReplacingBag<E>
- Specified by:
copy
in interfaceXSettingSequence<E>
- Specified by:
copy
in interfaceXSortableSequence<E>
- Returns:
- a copy of this list
-
toReversed
XSettingList<E> toReversed()
- Specified by:
toReversed
in interfaceXGettingList<E>
- Specified by:
toReversed
in interfaceXGettingSequence<E>
- Specified by:
toReversed
in interfaceXSettingSequence<E>
- Specified by:
toReversed
in interfaceXSortableSequence<E>
-
range
XSettingList<E> range(long fromIndex, long toIndex)
- Specified by:
range
in interfaceXGettingList<E>
- Specified by:
range
in interfaceXGettingSequence<E>
- Specified by:
range
in interfaceXSettingSequence<E>
-
-