Interface XGettingList<E>
-
- All Superinterfaces:
CapacityCarrying
,Copyable
,ExtendedBag<E>
,ExtendedCollection<E>
,ExtendedList<E>
,ExtendedSequence<E>
,Iterable<E>
,Sized
,XGettingBag<E>
,XGettingCollection<E>
,XGettingSequence<E>
,XIndexIterable<E>
,XIterable<E>
,XJoinable<E>
- All Known Subinterfaces:
XBasicList<E>
,XBasicTable.Values<K,V>
,XChart.Values<K,V>
,XDecreasingList<E>
,XGettingTable.Values<K,V>
,XImmutableList<E>
,XImmutableTable.Values<K,V>
,XIncreasingList<E>
,XLadder<E>
,XList<E>
,XProcessingList<E>
,XPutGetList<E>
,XReference<E>
,XReferencing<E>
,XSettingList<E>
,XTable.Values<K,V>
- All Known Implementing Classes:
ArrayAccessor
,ArrayCollector
,ArrayView
,BulkList
,Constant
,ConstHashTable.Values
,ConstList
,Empty
,EqBulkList
,EqConstHashTable.Values
,EqConstList
,EqHashTable.Values
,FixedList
,HashTable.Values
,LimitList
,LinkingReferencing.Default
,LinkReference.Default
,ListAccessor
,ListProcessor
,ListView
,LockedList
,MappedList
,Single
,Singleton
,SingletonView
,SubList
,SubListAccessor
,SubListProcessor
,SubListView
,SynchList
public interface XGettingList<E> extends XGettingSequence<E>, XGettingBag<E>, ExtendedList<E>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
XGettingList.Factory<E>
-
Nested classes/interfaces inherited from interface one.microstream.typing.Copyable
Copyable.Static
-
Nested classes/interfaces inherited from interface one.microstream.collections.interfaces.ExtendedCollection
ExtendedCollection.Creator<E,C extends ExtendedCollection<E>>
-
Nested classes/interfaces inherited from interface one.microstream.collections.types.XGettingCollection
XGettingCollection.Creator<E>
-
Nested classes/interfaces inherited from interface one.microstream.collections.types.XIterable
XIterable.Executor<E>
-
-
Method Summary
Modifier and Type Method Description XGettingList<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.XImmutableList<E>
immure()
Provides an instance of an immutable collection type with equal behavior and data as this instance.ListIterator<E>
listIterator()
ListIterator<E>
listIterator(long index)
OldList<E>
old()
XGettingList<E>
range(long fromIndex, long toIndex)
XGettingList<E>
toReversed()
XGettingList<E>
view()
XGettingList<E>
view(long lowIndex, long highIndex)
-
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.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
-
-
-
-
Method Detail
-
immure
XImmutableList<E> immure()
Provides an instance of an immutable collection type with equal behavior and data as this instance.If this instance already is of an immutable collection type, it returns itself.
- Specified by:
immure
in interfaceXGettingBag<E>
- Specified by:
immure
in interfaceXGettingCollection<E>
- Specified by:
immure
in interfaceXGettingSequence<E>
- Returns:
- an immutable copy of this collection instance.
-
listIterator
ListIterator<E> listIterator()
-
listIterator
ListIterator<E> listIterator(long index)
-
old
OldList<E> old()
- Specified by:
old
in interfaceXGettingCollection<E>
-
copy
XGettingList<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 interfaceXGettingBag<E>
- Specified by:
copy
in interfaceXGettingCollection<E>
- Specified by:
copy
in interfaceXGettingSequence<E>
- Returns:
- a copy of this list
-
toReversed
XGettingList<E> toReversed()
- Specified by:
toReversed
in interfaceXGettingSequence<E>
-
view
XGettingList<E> view()
- Specified by:
view
in interfaceXGettingBag<E>
- Specified by:
view
in interfaceXGettingCollection<E>
- Specified by:
view
in interfaceXGettingSequence<E>
-
view
XGettingList<E> view(long lowIndex, long highIndex)
- Specified by:
view
in interfaceXGettingSequence<E>
-
range
XGettingList<E> range(long fromIndex, long toIndex)
- Specified by:
range
in interfaceXGettingSequence<E>
-
-