Package one.microstream.collections
Class AbstractChainStorage<E,K,V,EN extends AbstractChainEntry<E,K,V,EN>>
java.lang.Object
one.microstream.collections.AbstractChainStorage<E,K,V,EN>
- All Implemented Interfaces:
Iterable<E>
,ChainStorage<E,K,V,EN>
,Composition
- Direct Known Subclasses:
ChainStorageStrong
public abstract class AbstractChainStorage<E,K,V,EN extends AbstractChainEntry<E,K,V,EN>> extends Object implements ChainStorage<E,K,V,EN>
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.collections.interfaces.ChainStorage
ChainStorage.Entry<E,K,V,EN extends ChainStorage.Entry<E,K,V,EN>>
-
Constructor Summary
Constructors Constructor Description AbstractChainStorage()
-
Method Summary
Modifier and Type Method Description protected abstract void
disjoinEntry(EN entry)
protected abstract EN
head()
protected abstract boolean
moveToEnd(EN entry)
protected abstract boolean
moveToStart(EN entry)
protected abstract void
replace(EN doomedEntry, EN keptEntry)
protected abstract long
substitute(Function<? super E,? extends E> mapper, BiConsumer<EN,E> callback)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface one.microstream.collections.interfaces.ChainStorage
appendEntry, appendTo, appendTo, appendTo, appendTo, appendTo, appendTo, appliesAll, clear, consolidate, contains, contains, containsAll, containsAll, containsId, containsNull, containsSearched, copySelection, copyTo, copyTo, copyToArray, count, count, count, distinct, distinct, equalsContent, except, fill, first, get, getChainEntry, getIntervalLowChainEntry, getRangeChainEntry, getReferenceType, hasDistinctValues, hasDistinctValues, hasVolatileElements, indexOf, indexOf, indexOf, intersect, isSorted, iterate, iterate, iterateIndexed, iterator, join, last, lastIndexBy, lastIndexOf, lastIndexOf, max, maxIndex, min, minIndex, moveRange, moveSelection, moveTo, prependEntry, process, reduce, remove, remove, remove, removeAll, removeAll, removeDuplicates, removeDuplicates, removeNull, removeOne, removeOne, removeRange, removeSelection, replace, replaceAll, replaceAll, replaceBy, replaceOne, replaceOneBy, retainAll, retainAll, retainAll, retainRange, retrieve, retrieve, retrieve, reverse, scan, search, seek, seek, set, set, shiftBy, shiftBy, shiftTo, shiftTo, shuffle, size, sort, substitute, substitute, swap, swap, toArray, toArray, toString, union
-
Constructor Details
-
AbstractChainStorage
public AbstractChainStorage()
-
-
Method Details