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 class
AbstractChainEntry.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 VarString
assembleElement(VarString vs)
VarString
assembleKey(VarString vs)
VarString
assembleValue(VarString vs)
static String
chainString(AbstractChainEntry<?,?,?,?> entry)
protected abstract E
element()
protected boolean
emptyKey()
protected boolean
emptyValue()
protected abstract boolean
hasNullElement()
protected abstract boolean
hasNullKey()
protected abstract boolean
hasNullValue()
abstract K
key()
protected void
removeFrom(AbstractChainCollection<E,K,V,EN> handler)
protected abstract boolean
sameKV(KeyValue<K,V> other)
protected abstract void
set0(K key, V value)
protected abstract E
setElement(E element)
protected abstract void
setElement0(E element)
protected abstract K
setKey(K key)
protected abstract void
setKey0(K key)
abstract V
setValue(V value)
protected abstract void
setValue0(V value)
String
toString()
abstract V
value()
-
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
-