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>
Method Summary
All Methods Instance Methods Abstract Methods
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.Sized
isEmpty
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
Method Details
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 interface Copyable
Specified by:
copy
in interface XGettingCollection <E >
Specified by:
copy
in interface XGettingEnum <E >
Specified by:
copy
in interface XGettingSequence <E >
Specified by:
copy
in interface XGettingSet <E >
Specified by:
copy
in interface XSettingSequence <E >
Specified by:
copy
in interface XSortableEnum <E >
Specified by:
copy
in interface XSortableSequence <E >
Returns:
a copy of this list