public abstract class MapAbsent<K,V> extends Object implements Absent<K,V>
| Modifier and Type | Field and Description |
|---|---|
CheckOnEachPublicOperation |
checkOnEachPublicOperation |
HashLookupSearch |
hashLookupSearch |
KeySearch<K> |
ks |
SegmentStages |
s |
| Constructor and Description |
|---|
MapAbsent() |
| Modifier and Type | Method and Description |
|---|---|
Data<K> |
absentKey()
Returns the key is going to be inserted into the
ChronicleHash. |
MapQuery<K,V,?> |
context()
Returns the context, in which the entry is going to be inserted into the hash.
|
void |
doInsert()
Inserts
the new key into the set. |
void |
doInsert(Data<V> value)
Inserts the new entry into the map, of the key and the given
value. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdefaultValuepublic HashLookupSearch hashLookupSearch
public CheckOnEachPublicOperation checkOnEachPublicOperation
public SegmentStages s
@NotNull public MapQuery<K,V,?> context()
HashAbsentEntrycontext in interface HashAbsentEntry<K>context in interface Absent<K,V>context in interface MapAbsentEntry<K,V>context in interface SetAbsentEntry<K>@NotNull public Data<K> absentKey()
HashAbsentEntryChronicleHash.absentKey in interface HashAbsentEntry<K>public void doInsert(Data<V> value)
MapAbsentEntryvalue.
This method is the default implementation for MapEntryOperations.insert(
MapAbsentEntry, Data), which might be customized over the default.
doInsert in interface MapAbsentEntry<K,V>value - the value to insert into the map along with the keyMapEntryOperations.insert(MapAbsentEntry, Data)public void doInsert()
SetAbsentEntrythe new key into the set.
This method is the default implementation for SetEntryOperations.insert(
SetAbsentEntry), which might be customized over the default.
doInsert in interface SetAbsentEntry<K>SetEntryOperations.insert(SetAbsentEntry)Copyright © 2024. All rights reserved.