Package one.microstream.collections
Class ChainStrongStrongStorage<K,V,EN extends AbstractChainEntry<KeyValue<K,V>,K,V,EN>>
java.lang.Object
one.microstream.collections.AbstractChainStorage<E,K,V,EN>
one.microstream.collections.ChainStorageStrong<KeyValue<K,V>,K,V,EN>
one.microstream.collections.AbstractChainKeyValueStorage<K,V,EN>
one.microstream.collections.ChainStrongStrongStorage<K,V,EN>
- All Implemented Interfaces:
Iterable<KeyValue<K,V>>
,ChainKeyValueStorage<K,V,EN>
,ChainStorage<KeyValue<K,V>,K,V,EN>
,Composition
public final class ChainStrongStrongStorage<K,V,EN extends AbstractChainEntry<KeyValue<K,V>,K,V,EN>> extends AbstractChainKeyValueStorage<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 ChainStrongStrongStorage(AbstractChainCollection<KeyValue<K,V>,K,V,EN> parent, EN head)
-
Method Summary
Modifier and Type Method Description ReferenceType
getValueReferenceType()
boolean
hasVolatileValues()
VarString
keyAppendTo(VarString vc)
VarString
keyAppendTo(VarString vc, char separator)
VarString
keyAppendTo(VarString vc, String separator)
VarString
keyAppendTo(VarString vc, BiConsumer<VarString,? super K> keyAppender)
VarString
keyAppendTo(VarString vc, BiConsumer<VarString,? super K> keyAppender, char separator)
VarString
keyAppendTo(VarString vc, BiConsumer<VarString,? super K> keyAppender, String separator)
boolean
keyApplies(Predicate<? super K> predicate)
boolean
keyAppliesAll(Predicate<? super K> predicate)
boolean
keyContains(K element)
boolean
keyContains(K sample, Equalator<? super K> equalator)
boolean
keyContainsAll(K[] elements, int elementsOffset, int elementsLength)
boolean
keyContainsAll(XGettingCollection<? extends K> elements)
boolean
keyContainsId(K element)
boolean
keyContainsNull()
<C extends Consumer<? super K>>
CkeyCopySelection(C target, long... indices)
<C extends Consumer<? super K>>
CkeyCopyTo(C target)
<C extends Consumer<? super K>>
CkeyCopyTo(C target, Predicate<? super K> predicate)
int
keyCopyToArray(int offset, int length, Object[] target, int targetOffset)
int
keyCount(Predicate<? super K> predicate)
int
keyCount(K element)
int
keyCount(K sample, Equalator<? super K> equalator)
<C extends Consumer<? super K>>
CkeyDistinct(C target)
<C extends Consumer<? super K>>
CkeyDistinct(C target, Equalator<? super K> equalator)
boolean
keyEqualsContent(XGettingCollection<? extends K> other, Equalator<? super K> equalator)
<C extends Consumer<? super K>>
CkeyExcept(XGettingCollection<? extends K> samples, Equalator<? super K> equalator, C target)
void
keyFill(int offset, int length, K element)
K
keyFirst()
K
keyGet(long index)
boolean
keyHasDistinctValues()
boolean
keyHasDistinctValues(Equalator<? super K> equalator)
int
keyIndexBy(Predicate<? super K> predicate)
int
keyIndexOf(K element)
int
keyIndexOf(K sample, Equalator<? super K> equalator)
<C extends Consumer<? super K>>
CkeyIntersect(XGettingCollection<? extends K> samples, Equalator<? super K> equalator, C target)
boolean
keyIsSorted(Comparator<? super K> comparator)
void
keyIterate(Consumer<? super K> procedure)
void
keyIterate(Predicate<? super K> predicate, Consumer<? super K> procedure)
void
keyIterateIndexed(IndexedAcceptor<? super K> procedure)
Iterator<K>
keyIterator()
<A> void
keyJoin(BiConsumer<? super K,A> joiner, A aggregate)
K
keyLast()
int
keyLastIndexBy(Predicate<? super K> predicate)
int
keyLastIndexOf(K element)
int
keyLastIndexOf(K sample, Equalator<? super K> equalator)
K
keyMax(Comparator<? super K> comparator)
int
keyMaxIndex(Comparator<? super K> comparator)
K
keyMin(Comparator<? super K> comparator)
int
keyMinIndex(Comparator<? super K> comparator)
int
keyMoveRange(int offset, int length, Consumer<? super K> target)
int
keyMoveSelection(Consumer<? super K> target, long... indices)
int
keyMoveTo(Consumer<? super K> target, Predicate<? super K> predicate)
int
keyProcess(Consumer<? super K> procedure)
int
keyReduce(Predicate<? super K> predicate)
K
keyRemove(long index)
int
keyRemove(K element)
int
keyRemove(K sample, Equalator<? super K> equalator)
int
keyRemoveAll(K[] elements, int elementsOffset, int elementsLength)
int
keyRemoveAll(XGettingCollection<? extends K> elements)
int
keyRemoveDuplicates()
int
keyRemoveDuplicates(Equalator<? super K> equalator)
int
keyRemoveNull()
boolean
keyRemoveOne(K element)
boolean
keyRemoveOne(K sample, Equalator<? super K> equalator)
int
keyReplace(K element, K replacement)
int
keyReplaceAll(K[] elements, int elementsOffset, int elementsLength, K replacement)
int
keyReplaceAll(XGettingCollection<? extends K> elements, K replacement)
int
keyReplaceOne(K element, K replacement)
int
keyRetainAll(K[] elements, int elementsOffset, int elementsLength)
int
keyRetainAll(K[] samples, int samplesOffset, int samplesLength, Equalator<? super K> equalator)
int
keyRetainAll(XGettingCollection<? extends K> elements)
int
keyRetainAll(XGettingCollection<? extends K> samples, Equalator<? super K> equalator)
K
keyRetrieve(Predicate<? super K> predicate)
K
keyRetrieve(K element)
K
keyRetrieve(K sample, Equalator<? super K> equalator)
int
keyScan(Predicate<? super K> predicate)
K
keySearch(Predicate<? super K> predicate)
K
keySeek(K sample)
K
keySeek(K sample, Equalator<? super K> equalator)
void
keySet(int offset, K... elements)
void
keySet(int offset, K[] elements, int elementsOffset, int elementsLength)
void
keySort(Comparator<? super K> comparator)
long
keySubstitute(Function<? super K,? extends K> mapper, BiConsumer<EN,K> callback)
int
keySubstitute(Predicate<? super K> predicate, Function<? super K,? extends K> mapper)
int
keySubstitute(Predicate<? super K> predicate, K substitute)
int
keySubstituteOne(Predicate<? super K> predicate, K substitute)
Object[]
keyToArray()
K[]
keyToArray(Class<K> type)
<C extends Consumer<? super K>>
CkeyUnion(XGettingCollection<? extends K> samples, Equalator<? super K> equalator, C target)
V
searchValue(K key, Equalator<? super K> equalator)
VarString
valuesAppendTo(VarString vc)
VarString
valuesAppendTo(VarString vc, char separator)
VarString
valuesAppendTo(VarString vc, String separator)
VarString
valuesAppendTo(VarString vc, BiConsumer<VarString,? super V> appender)
VarString
valuesAppendTo(VarString vc, BiConsumer<VarString,? super V> appender, char separator)
VarString
valuesAppendTo(VarString vc, BiConsumer<VarString,? super V> appender, String separator)
boolean
valuesApplies(Predicate<? super V> predicate)
boolean
valuesAppliesAll(Predicate<? super V> predicate)
boolean
valuesContains(V element)
boolean
valuesContains(V sample, Equalator<? super V> equalator)
boolean
valuesContainsAll(XGettingCollection<? extends V> elements)
boolean
valuesContainsAll(XGettingCollection<? extends V> elements, Equalator<? super V> equalator)
boolean
valuesContainsAll(V[] elements, int elementsOffset, int elementsLength)
boolean
valuesContainsAll(V[] elements, int elementsOffset, int elementsLength, Equalator<? super V> equalator)
boolean
valuesContainsId(V element)
boolean
valuesContainsNull()
<C extends Consumer<? super V>>
CvaluesCopySelection(C target, long... indices)
<C extends Consumer<? super V>>
CvaluesCopyTo(C target)
<C extends Consumer<? super V>>
CvaluesCopyTo(C target, Predicate<? super V> predicate)
int
valuesCopyToArray(long offset, int length, Object[] target, int targetOffset)
int
valuesCount(Predicate<? super V> predicate)
int
valuesCount(V element)
int
valuesCount(V sample, Equalator<? super V> equalator)
<C extends Consumer<? super V>>
CvaluesDistinct(C target)
<C extends Consumer<? super V>>
CvaluesDistinct(C target, Equalator<? super V> equalator)
boolean
valuesEqualsContent(XGettingCollection<? extends V> other, Equalator<? super V> equalator)
<C extends Consumer<? super V>>
CvaluesExcept(XGettingCollection<? extends V> samples, Equalator<? super V> equalator, C target)
void
valuesFill(long offset, long length, V element)
V
valuesFirst()
V
valuesGet(long index)
boolean
valuesHasDistinctValues()
boolean
valuesHasDistinctValues(Equalator<? super V> equalator)
int
valuesIndexBy(Predicate<? super V> predicate)
int
valuesIndexOf(V element)
int
valuesIndexOf(V sample, Equalator<? super V> equalator)
<C extends Consumer<? super V>>
CvaluesIntersect(XGettingCollection<? extends V> samples, Equalator<? super V> equalator, C target)
boolean
valuesIsSorted(Comparator<? super V> comparator)
void
valuesIterate(Consumer<? super V> procedure)
void
valuesIterate(Predicate<? super V> predicate, Consumer<? super V> procedure)
void
valuesIterateIndexed(IndexedAcceptor<? super V> procedure)
Iterator<V>
valuesIterator()
<A> void
valuesJoin(BiConsumer<? super V,A> joiner, A aggregate)
V
valuesLast()
int
valuesLastIndexBy(Predicate<? super V> predicate)
int
valuesLastIndexOf(V element)
int
valuesLastIndexOf(V sample, Equalator<? super V> equalator)
ListIterator<V>
valuesListIterator(long index)
V
valuesMax(Comparator<? super V> comparator)
int
valuesMaxIndex(Comparator<? super V> comparator)
V
valuesMin(Comparator<? super V> comparator)
int
valuesMinIndex(Comparator<? super V> comparator)
int
valuesMoveRange(int offset, int length, Consumer<? super V> target)
int
valuesMoveSelection(Consumer<? super V> target, long... indices)
int
valuesMoveTo(Consumer<? super V> target, Predicate<? super V> predicate)
int
valuesProcess(Consumer<? super V> procedure)
int
valuesReduce(Predicate<? super V> predicate)
V
valuesRemove(long index)
int
valuesRemove(V element)
int
valuesRemove(V sample, Equalator<? super V> equalator)
int
valuesRemoveAll(XGettingCollection<? extends V> elements)
int
valuesRemoveAll(XGettingCollection<? extends V> samples, Equalator<? super V> equalator)
int
valuesRemoveAll(V[] elements, int elementsOffset, int elementsLength)
int
valuesRemoveAll(V[] samples, int samplesOffset, int samplesLength, Equalator<? super V> equalator)
int
valuesRemoveDuplicates()
int
valuesRemoveDuplicates(Equalator<? super V> equalator)
int
valuesRemoveNull()
boolean
valuesRemoveOne(V element)
boolean
valuesRemoveOne(V sample, Equalator<? super V> equalator)
int
valuesReplace(V sample, Equalator<? super V> equalator, V replacement)
int
valuesReplace(V element, V replacement)
int
valuesReplaceAll(XGettingCollection<? extends V> samples, Equalator<? super V> equalator, V replacement)
int
valuesReplaceAll(XGettingCollection<? extends V> elements, V replacement)
int
valuesReplaceAll(V[] samples, int samplesOffset, int samplesLength, Equalator<? super V> equalator, V replacement)
int
valuesReplaceAll(V[] elements, int elementsOffset, int elementsLength, V replacement)
boolean
valuesReplaceOne(V sample, Equalator<? super V> equalator, V replacement)
boolean
valuesReplaceOne(V element, V replacement)
int
valuesRetainAll(XGettingCollection<? extends V> elements)
int
valuesRetainAll(XGettingCollection<? extends V> samples, Equalator<? super V> equalator)
int
valuesRetainAll(V[] elements, int elementsOffset, int elementsLength)
int
valuesRetainAll(V[] samples, int samplesOffset, int samplesLength, Equalator<? super V> equalator)
V
valuesRetrieve(Predicate<? super V> predicate)
V
valuesRetrieve(V element)
int
valuesScan(Predicate<? super V> predicate)
V
valuesSearch(Predicate<? super V> predicate)
V
valuesSearch(V sample, Equalator<? super V> equalator)
V
valuesSeek(V element)
V
valuesSet(long offset, V value)
void
valuesSet(long offset, V[] elements)
void
valuesSet(long offset, V[] elements, int elementsOffset, int elementsLength)
void
valuesSort(Comparator<? super V> comparator)
int
valuesSubstitute(Function<? super V,? extends V> mapper)
int
valuesSubstitute(Predicate<? super V> predicate, Function<V,V> mapper)
int
valuesSubstitute(Predicate<? super V> predicate, V substitute)
boolean
valuesSubstituteOne(Predicate<? super V> predicate, V substitute)
Object[]
valuesToArray()
V[]
valuesToArray(Class<V> type)
String
valuesToString()
<C extends Consumer<? super V>>
CvaluesUnion(XGettingCollection<? extends V> samples, Equalator<? super V> equalator, C target)
Methods inherited from class one.microstream.collections.ChainStorageStrong
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, 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface one.microstream.collections.interfaces.ChainKeyValueStorage
consolidate, getChainEntry, getIntervalLowChainEntry, getRangeChainEntry, getReferenceType, hasVolatileElements, removeRange, removeSelection, reverse, shiftBy, shiftBy, shiftTo, shiftTo, shuffle, size, swap, swap
Methods inherited from interface one.microstream.collections.interfaces.ChainStorage
appendEntry, appendTo, appendTo, appendTo, appendTo, appendTo, appendTo, appliesAll, clear, contains, contains, containsAll, containsAll, containsId, containsNull, containsSearched, copySelection, copyTo, copyTo, copyToArray, count, count, count, distinct, distinct, equalsContent, except, fill, first, get, hasDistinctValues, hasDistinctValues, 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, replace, replaceAll, replaceAll, replaceBy, replaceOne, replaceOneBy, retainAll, retainAll, retainAll, retainRange, retrieve, retrieve, retrieve, scan, search, seek, seek, set, set, sort, substitute, substitute, toArray, toArray, toString, union
-
Constructor Details
-
Method Details
-
keyIterator
-
keyEqualsContent
public final boolean keyEqualsContent(XGettingCollection<? extends K> other, Equalator<? super K> equalator) -
searchValue
-
keyContainsNull
public final boolean keyContainsNull() -
keyContainsId
-
keyContains
-
keyContains
-
keyContainsAll
-
keyContainsAll
-
keyApplies
-
keyAppliesAll
-
keyCount
-
keyCount
-
keyCount
-
keyIntersect
-
keyExcept
-
keyUnion
-
keyCopyTo
-
keyCopySelection
-
keyCopyTo
-
keyToArray
-
keyToArray
-
keyFirst
-
keyLast
-
keyGet
-
keySeek
-
keySeek
-
keySearch
-
keyMin
-
keyMax
-
keyIterate
-
keyJoin
-
keyIterateIndexed
-
keyIterate
-
keyIndexOf
-
keyIndexOf
-
keyIndexBy
-
keyLastIndexOf
-
keyLastIndexOf
-
keyLastIndexBy
-
keyMinIndex
-
keyMaxIndex
-
keyScan
-
keyHasDistinctValues
public final boolean keyHasDistinctValues() -
keyHasDistinctValues
-
keyDistinct
-
keyDistinct
-
keyRemove
-
keyRemoveNull
public final int keyRemoveNull() -
keyRetrieve
-
keyRetrieve
-
keyRetrieve
-
keyRemoveOne
-
keyRemoveOne
-
keyRemove
-
keyRemove
-
keyRemoveAll
-
keyRemoveAll
-
keyRemoveDuplicates
public final int keyRemoveDuplicates() -
keyRemoveDuplicates
-
keyReduce
-
keyRetainAll
-
keyRetainAll
-
keyRetainAll
-
keyRetainAll
public final int keyRetainAll(XGettingCollection<? extends K> samples, Equalator<? super K> equalator) -
keyProcess
-
keyMoveRange
-
keyMoveSelection
-
keyMoveTo
-
keySort
-
keyIsSorted
-
keySet
-
keySet
-
keyFill
-
keyReplaceOne
-
keyReplace
-
keyReplaceAll
-
keyReplaceAll
-
keySubstituteOne
-
keySubstitute
-
keySubstitute
-
keySubstitute
-
keyCopyToArray
-
keyAppendTo
-
keyAppendTo
-
keyAppendTo
-
keyAppendTo
-
keyAppendTo
public final VarString keyAppendTo(VarString vc, BiConsumer<VarString,? super K> keyAppender, char separator) -
keyAppendTo
-
valuesIterator
-
valuesListIterator
-
valuesEqualsContent
public final boolean valuesEqualsContent(XGettingCollection<? extends V> other, Equalator<? super V> equalator) -
hasVolatileValues
public final boolean hasVolatileValues() -
getValueReferenceType
-
valuesContainsNull
public final boolean valuesContainsNull() -
valuesContainsId
-
valuesContains
-
valuesContains
-
valuesContainsAll
-
valuesContainsAll
-
valuesContainsAll
-
valuesContainsAll
public final boolean valuesContainsAll(XGettingCollection<? extends V> elements, Equalator<? super V> equalator) -
valuesApplies
-
valuesAppliesAll
-
valuesCount
-
valuesCount
-
valuesCount
-
valuesIntersect
-
valuesExcept
-
valuesUnion
-
valuesCopyTo
-
valuesCopySelection
-
valuesCopyToArray
-
valuesCopyTo
-
valuesToArray
-
valuesToArray
-
valuesFirst
-
valuesLast
-
valuesGet
-
valuesSeek
-
valuesSearch
-
valuesSearch
-
valuesMin
-
valuesMax
-
valuesIterate
-
valuesIterateIndexed
-
valuesJoin
-
valuesIterate
-
valuesIndexOf
-
valuesIndexOf
-
valuesIndexBy
-
valuesLastIndexOf
-
valuesLastIndexOf
-
valuesLastIndexBy
-
valuesMinIndex
-
valuesMaxIndex
-
valuesScan
-
valuesHasDistinctValues
public final boolean valuesHasDistinctValues() -
valuesHasDistinctValues
-
valuesDistinct
-
valuesDistinct
-
valuesAppendTo
-
valuesAppendTo
-
valuesAppendTo
-
valuesAppendTo
-
valuesAppendTo
public final VarString valuesAppendTo(VarString vc, BiConsumer<VarString,? super V> appender, char separator) -
valuesAppendTo
-
valuesToString
-
valuesRemove
-
valuesRemoveNull
public final int valuesRemoveNull() -
valuesRetrieve
-
valuesRetrieve
-
valuesRemove
-
valuesRemove
-
valuesRemoveAll
-
valuesRemoveAll
-
valuesRemoveAll
-
valuesRemoveAll
public final int valuesRemoveAll(XGettingCollection<? extends V> samples, Equalator<? super V> equalator) -
valuesRemoveDuplicates
public final int valuesRemoveDuplicates() -
valuesRemoveDuplicates
-
valuesReduce
-
valuesRetainAll
-
valuesRetainAll
-
valuesRetainAll
-
valuesRetainAll
public final int valuesRetainAll(XGettingCollection<? extends V> samples, Equalator<? super V> equalator) -
valuesProcess
-
valuesMoveRange
-
valuesMoveSelection
-
valuesMoveTo
-
valuesSort
-
valuesIsSorted
-
valuesSet
-
valuesSet
-
valuesSet
-
valuesFill
-
valuesReplaceOne
-
valuesReplaceOne
-
valuesReplace
-
valuesReplace
-
valuesReplaceAll
-
valuesReplaceAll
-
valuesReplaceAll
-
valuesReplaceAll
public final int valuesReplaceAll(XGettingCollection<? extends V> samples, Equalator<? super V> equalator, V replacement) -
valuesSubstituteOne
-
valuesSubstitute
-
valuesSubstitute
-
valuesSubstitute
-
valuesRemoveOne
-
valuesRemoveOne
-