Package one.microstream.collections
Class SubListAccessor<E>
java.lang.Object
one.microstream.collections.SubListView<E>
one.microstream.collections.SubListAccessor<E>
- All Implemented Interfaces:
- Iterable<E>,- CapacityCarrying,- ExtendedBag<E>,- ExtendedCollection<E>,- ExtendedList<E>,- ExtendedSequence<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>,- XSettingList<E>,- XSettingSequence<E>,- XSortableSequence<E>,- Copyable
- Direct Known Subclasses:
- SubList
public class SubListAccessor<E> extends SubListView<E> implements XSettingList<E>
- 
Nested Class SummaryNested classes/interfaces inherited from interface one.microstream.collections.interfaces.ExtendedCollectionExtendedCollection.Creator<E,C extends ExtendedCollection<E>>Nested classes/interfaces inherited from interface one.microstream.collections.types.XGettingCollectionXGettingCollection.Creator<E>Nested classes/interfaces inherited from interface one.microstream.collections.types.XGettingListXGettingList.Factory<E>Nested classes/interfaces inherited from interface one.microstream.collections.types.XGettingSequenceXGettingSequence.Factory<E>Nested classes/interfaces inherited from interface one.microstream.collections.types.XIterableXIterable.Executor<E>Nested classes/interfaces inherited from interface one.microstream.collections.types.XReplacingBagXReplacingBag.Factory<E>Nested classes/interfaces inherited from interface one.microstream.collections.types.XSettingListXSettingList.Creator<E>
- 
Constructor SummaryConstructors Constructor Description SubListAccessor(XSettingList<E> list, long fromIndex, long toIndex)
- 
Method SummaryModifier and Type Method Description SubListAccessor<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.SubListAccessor<E>fill(long offset, long length, E element)one.microstream.collections.SubListAccessor.OldSubListAccessor<E>old()SubListAccessor<E>range(long fromIndex, long toIndex)longreplace(E element, E replacement)longreplace(Predicate<? super E> predicate, E substitute)longreplaceAll(XGettingCollection<? extends E> elements, E replacement)booleanreplaceOne(E element, E replacement)booleanreplaceOne(Predicate<? super E> predicate, E substitute)SubListAccessor<E>reverse()booleanset(long index, E element)SubListAccessor<E>set(long offset, E[] src, int srcIndex, int srcLength)SubListAccessor<E>set(long offset, XGettingSequence<? extends E> elements, long elementsOffset, long elementsLength)SubListAccessor<E>setAll(long offset, E... elements)voidsetFirst(E element)EsetGet(long index, E element)voidsetLast(E element)SubListAccessor<E>shiftBy(long sourceIndex, long distance)SubListAccessor<E>shiftBy(long sourceIndex, long distance, long length)SubListAccessor<E>shiftTo(long sourceIndex, long targetIndex)SubListAccessor<E>shiftTo(long sourceIndex, long targetIndex, long length)SubListAccessor<E>sort(Comparator<? super E> comparator)longsubstitute(Function<? super E,? extends E> mapper)longsubstitute(Predicate<? super E> predicate, Function<E,E> mapper)SubListAccessor<E>swap(long indexA, long indexB)SubListAccessor<E>swap(long indexA, long indexB, long length)SubListAccessor<E>toReversed()SubListView<E>view(long fromIndex, long toIndex)Methods inherited from class one.microstream.collections.SubListViewapplies, at, contains, containsAll, containsId, containsSearched, copySelection, copyTo, count, countBy, distinct, distinct, equality, equals, equalsContent, except, filterTo, first, get, getEndIndex, hasVolatileElements, immure, indexBy, indexOf, intersect, isEmpty, isFull, isSorted, iterate, iterateIndexed, iterator, join, last, lastIndexBy, lastIndexOf, listIterator, listIterator, max, maximumCapacity, maxIndex, min, minIndex, nullAllowed, nullContained, peek, poll, remainingCapacity, scan, search, seek, size, toArray, toArray, union, viewMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface one.microstream.collections.interfaces.CapacityCarryingisFull, maximumCapacity, remainingCapacityMethods inherited from interface one.microstream.collections.interfaces.ExtendedCollectionnullAllowedMethods inherited from interface one.microstream.collections.types.XGettingCollectionapplies, 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, unionMethods inherited from interface one.microstream.collections.types.XGettingListimmure, listIterator, listIterator, viewMethods inherited from interface one.microstream.collections.types.XGettingSequenceat, copySelection, first, get, hasIndex, indexBy, indexOf, isSorted, last, lastIndexBy, lastIndexOf, maxIndex, minIndex, peek, poll, scan
- 
Constructor Details
- 
Method Details- 
replace- Specified by:
- replacein interface- XReplacingBag<E>
 
- 
replaceOne- Specified by:
- replaceOnein interface- XReplacingBag<E>
 
- 
substitute- Specified by:
- substitutein interface- XReplacingCollection<E>
 
- 
substitute- Specified by:
- substitutein interface- XReplacingBag<E>
 
- 
range- Specified by:
- rangein interface- XGettingList<E>
- Specified by:
- rangein interface- XGettingSequence<E>
- Specified by:
- rangein interface- XSettingList<E>
- Specified by:
- rangein interface- XSettingSequence<E>
- Overrides:
- rangein class- SubListView<E>
 
- 
fill- Specified by:
- fillin interface- XSettingList<E>
 
- 
replaceOne- Specified by:
- replaceOnein interface- XReplacingBag<E>
 
- 
reverse- Specified by:
- reversein interface- XOrderingSequence<E>
- Specified by:
- reversein interface- XSettingList<E>
- Specified by:
- reversein interface- XSettingSequence<E>
- Specified by:
- reversein interface- XSortableSequence<E>
 
- 
setAll- Specified by:
- setAllin interface- XSettingList<E>
- Specified by:
- setAllin interface- XSettingSequence<E>
 
- 
set- Specified by:
- setin interface- XSettingList<E>
- Specified by:
- setin interface- XSettingSequence<E>
 
- 
setpublic SubListAccessor<E> set(long offset, XGettingSequence<? extends E> elements, long elementsOffset, long elementsLength)- Specified by:
- setin interface- XSettingList<E>
- Specified by:
- setin interface- XSettingSequence<E>
 
- 
setFirst- Specified by:
- setFirstin interface- XSettingSequence<E>
 
- 
setLast- Specified by:
- setLastin interface- XSettingSequence<E>
 
- 
sort- Specified by:
- sortin interface- Sortable<E>
- Specified by:
- sortin interface- XSettingList<E>
- Specified by:
- sortin interface- XSettingSequence<E>
- Specified by:
- sortin interface- XSortableSequence<E>
 
- 
shiftTo- Specified by:
- shiftToin interface- XOrderingSequence<E>
- Specified by:
- shiftToin interface- XSortableSequence<E>
 
- 
shiftTo- Specified by:
- shiftToin interface- XOrderingSequence<E>
- Specified by:
- shiftToin interface- XSortableSequence<E>
 
- 
shiftBy- Specified by:
- shiftByin interface- XOrderingSequence<E>
- Specified by:
- shiftByin interface- XSortableSequence<E>
 
- 
shiftBy- Specified by:
- shiftByin interface- XOrderingSequence<E>
- Specified by:
- shiftByin interface- XSortableSequence<E>
 
- 
swap- Specified by:
- swapin interface- XOrderingSequence<E>
- Specified by:
- swapin interface- XSettingList<E>
- Specified by:
- swapin interface- XSettingSequence<E>
- Specified by:
- swapin interface- XSortableSequence<E>
 
- 
swap- Specified by:
- swapin interface- XOrderingSequence<E>
- Specified by:
- swapin interface- XSettingList<E>
- Specified by:
- swapin interface- XSettingSequence<E>
- Specified by:
- swapin interface- XSortableSequence<E>
 
- 
replace- Specified by:
- replacein interface- XReplacingBag<E>
 
- 
replaceAll- Specified by:
- replaceAllin interface- XReplacingBag<E>
 
- 
set- Specified by:
- setin interface- XSettingSequence<E>
 
- 
setGet- Specified by:
- setGetin interface- XSettingSequence<E>
 
- 
view- Specified by:
- viewin interface- XGettingList<E>
- Specified by:
- viewin interface- XGettingSequence<E>
- Overrides:
- viewin class- SubListView<E>
 
- 
toReversed- Specified by:
- toReversedin interface- XGettingList<E>
- Specified by:
- toReversedin interface- XGettingSequence<E>
- Specified by:
- toReversedin interface- XSettingList<E>
- Specified by:
- toReversedin interface- XSettingSequence<E>
- Specified by:
- toReversedin interface- XSortableSequence<E>
- Overrides:
- toReversedin class- SubListView<E>
 
- 
copyDescription copied from interface:XGettingSequenceCreates 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:
- copyin interface- Copyable
- Specified by:
- copyin interface- XGettingBag<E>
- Specified by:
- copyin interface- XGettingCollection<E>
- Specified by:
- copyin interface- XGettingList<E>
- Specified by:
- copyin interface- XGettingSequence<E>
- Specified by:
- copyin interface- XReplacingBag<E>
- Specified by:
- copyin interface- XSettingList<E>
- Specified by:
- copyin interface- XSettingSequence<E>
- Specified by:
- copyin interface- XSortableSequence<E>
- Overrides:
- copyin class- SubListView<E>
- Returns:
- a copy of this list
 
- 
old- Specified by:
- oldin interface- XGettingCollection<E>
- Specified by:
- oldin interface- XGettingList<E>
- Overrides:
- oldin class- SubListView<E>
 
 
-