Package one.microstream.collections
Class AbstractChainEntry<E,K,V,EN extends AbstractChainEntry<E,K,V,EN>>
java.lang.Object
one.microstream.collections.AbstractChainEntry<E,K,V,EN>
- All Implemented Interfaces:
Map.Entry<K,V>,ChainStorage.Entry<E,K,V,EN>,Composition,KeyValue<K,V>
- Direct Known Subclasses:
AbstractChainEntry.Head,AbstractChainEntryLinked
public abstract class AbstractChainEntry<E,K,V,EN extends AbstractChainEntry<E,K,V,EN>> extends Object implements ChainStorage.Entry<E,K,V,EN>, KeyValue<K,V>, Map.Entry<K,V>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractChainEntry.Head<E,K,V,EN extends AbstractChainEntry<E,K,V,EN>>Nested classes/interfaces inherited from interface one.microstream.typing.KeyValue
KeyValue.Default<K,V> -
Constructor Summary
Constructors Constructor Description AbstractChainEntry() -
Method Summary
Modifier and Type Method Description VarStringassembleElement(VarString vs)VarStringassembleKey(VarString vs)VarStringassembleValue(VarString vs)static StringchainString(AbstractChainEntry<?,?,?,?> entry)protected abstract Eelement()protected booleanemptyKey()protected booleanemptyValue()protected abstract booleanhasNullElement()protected abstract booleanhasNullKey()protected abstract booleanhasNullValue()abstract Kkey()protected voidremoveFrom(AbstractChainCollection<E,K,V,EN> handler)protected abstract booleansameKV(KeyValue<K,V> other)protected abstract voidset0(K key, V value)protected abstract EsetElement(E element)protected abstract voidsetElement0(E element)protected abstract KsetKey(K key)protected abstract voidsetKey0(K key)abstract VsetValue(V value)protected abstract voidsetValue0(V value)StringtoString()abstract Vvalue()
-
Constructor Details
-
AbstractChainEntry
public AbstractChainEntry()
-
-
Method Details
-
chainString
-
removeFrom
-
emptyKey
protected boolean emptyKey() -
emptyValue
protected boolean emptyValue() -
toString
-
assembleElement
-
assembleKey
-
assembleValue
-
setElement0
-
setElement
-
hasNullElement
protected abstract boolean hasNullElement() -
element
-
set0
-
key
-
setKey
-
setKey0
-
hasNullKey
protected abstract boolean hasNullKey() -
value
-
setValue
-
setValue0
-
hasNullValue
protected abstract boolean hasNullValue() -
sameKV
-