Interface XSettingEnum<E>
-
- All Superinterfaces:
CapacityCarrying
,Copyable
,ExtendedCollection<E>
,ExtendedSequence<E>
,Iterable<E>
,ReleasingCollection<E>
,Sized
,Sortable<E>
,XGettingCollection<E>
,XGettingEnum<E>
,XGettingSequence<E>
,XGettingSet<E>
,XIndexIterable<E>
,XIterable<E>
,XJoinable<E>
,XOrderingEnum<E>
,XOrderingSequence<E>
,XSettingSequence<E>
,XSortableEnum<E>
,XSortableSequence<E>
- All Known Subinterfaces:
XDecreasingEnum<E>
,XEnum<E>
,XTable<K,V>
,XTable.Keys<K,V>
- All Known Implementing Classes:
EqHashEnum
,EqHashTable
,EqHashTable.Keys
,HashEnum
,HashTable
,HashTable.Keys
,Single
public interface XSettingEnum<E> extends XSortableEnum<E>, XSettingSequence<E>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
XSettingEnum.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 XSettingEnum<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.XSettingEnum<E>
range(long fromIndex, long toIndex)
XSettingEnum<E>
reverse()
XSettingEnum<E>
set(long index, E[] elements, int offset, int length)
XSettingEnum<E>
set(long index, XGettingSequence<? extends E> elements, long offset, long length)
XSettingEnum<E>
setAll(long index, E... elements)
void
setFirst(E element)
E
setGet(long index, E element)
void
setLast(E element)
XSettingEnum<E>
sort(Comparator<? super E> comparator)
XSettingEnum<E>
swap(long indexA, long indexB)
XSettingEnum<E>
swap(long indexA, long indexB, long length)
XSettingEnum<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.XGettingEnum
immure, iterate, view, view
-
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
-
Methods inherited from interface one.microstream.collections.types.XIndexIterable
iterateIndexed
-
Methods inherited from interface one.microstream.collections.types.XSettingSequence
set
-
Methods inherited from interface one.microstream.collections.types.XSortableEnum
shiftBy, shiftBy, shiftTo, shiftTo
-
-
-
-
Method Detail
-
setGet
E setGet(long index, E element)
- Specified by:
setGet
in interfaceXSettingSequence<E>
-
setFirst
void setFirst(E element)
- Specified by:
setFirst
in interfaceXSettingSequence<E>
-
setLast
void setLast(E element)
- Specified by:
setLast
in interfaceXSettingSequence<E>
-
setAll
XSettingEnum<E> setAll(long index, E... elements)
- Specified by:
setAll
in interfaceXSettingSequence<E>
-
set
XSettingEnum<E> set(long index, E[] elements, int offset, int length)
- Specified by:
set
in interfaceXSettingSequence<E>
-
set
XSettingEnum<E> set(long index, XGettingSequence<? extends E> elements, long offset, long length)
- Specified by:
set
in interfaceXSettingSequence<E>
-
swap
XSettingEnum<E> swap(long indexA, long indexB)
- Specified by:
swap
in interfaceXOrderingEnum<E>
- Specified by:
swap
in interfaceXOrderingSequence<E>
- Specified by:
swap
in interfaceXSettingSequence<E>
- Specified by:
swap
in interfaceXSortableEnum<E>
- Specified by:
swap
in interfaceXSortableSequence<E>
-
swap
XSettingEnum<E> swap(long indexA, long indexB, long length)
- Specified by:
swap
in interfaceXOrderingEnum<E>
- Specified by:
swap
in interfaceXOrderingSequence<E>
- Specified by:
swap
in interfaceXSettingSequence<E>
- Specified by:
swap
in interfaceXSortableEnum<E>
- Specified by:
swap
in interfaceXSortableSequence<E>
-
reverse
XSettingEnum<E> reverse()
- Specified by:
reverse
in interfaceXOrderingEnum<E>
- Specified by:
reverse
in interfaceXOrderingSequence<E>
- Specified by:
reverse
in interfaceXSettingSequence<E>
- Specified by:
reverse
in interfaceXSortableEnum<E>
- Specified by:
reverse
in interfaceXSortableSequence<E>
-
sort
XSettingEnum<E> sort(Comparator<? super E> comparator)
- Specified by:
sort
in interfaceSortable<E>
- Specified by:
sort
in interfaceXSettingSequence<E>
- Specified by:
sort
in interfaceXSortableEnum<E>
- Specified by:
sort
in interfaceXSortableSequence<E>
-
copy
XSettingEnum<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 interfaceXGettingEnum<E>
- Specified by:
copy
in interfaceXGettingSequence<E>
- Specified by:
copy
in interfaceXGettingSet<E>
- Specified by:
copy
in interfaceXSettingSequence<E>
- Specified by:
copy
in interfaceXSortableEnum<E>
- Specified by:
copy
in interfaceXSortableSequence<E>
- Returns:
- a copy of this list
-
toReversed
XSettingEnum<E> toReversed()
- Specified by:
toReversed
in interfaceXGettingEnum<E>
- Specified by:
toReversed
in interfaceXGettingSequence<E>
- Specified by:
toReversed
in interfaceXSettingSequence<E>
- Specified by:
toReversed
in interfaceXSortableEnum<E>
- Specified by:
toReversed
in interfaceXSortableSequence<E>
-
range
XSettingEnum<E> range(long fromIndex, long toIndex)
- Specified by:
range
in interfaceXGettingEnum<E>
- Specified by:
range
in interfaceXGettingSequence<E>
- Specified by:
range
in interfaceXSettingSequence<E>
-
-