- All Superinterfaces:
CapacityCarrying
, CapacityExtendable
, ExtendedCollection<KeyValue<K,V>>
, ExtendedMap<K,V>
, Sized
, XAddingMap<K,V>
- All Known Subinterfaces:
XBasicTable<K,V>
, XChart<K,V>
, XMap<K,V>
, XPutGetMap<K,V>
, XTable<K,V>
- All Known Implementing Classes:
EqHashTable
, HashTable
, LockedMap
public interface XPuttingMap<K,V>
extends XAddingMap<K,V>
-
-
Method Summary
Modifier and Type |
Method |
Description |
boolean |
put(K key,
V value) |
Ensures the passed key and value to be contained as an entry in the map.
|
boolean |
valuePut(K sampleKey,
V value) |
Ensures the passed value to be either set to an existing entry appropriate to sampleKey or inserted as a new one.
|
Methods inherited from interface one.microstream.collections.interfaces.Sized
isEmpty, size
-
Method Details
-
boolean put(
K key,
V value)
Ensures the passed key and value to be contained as an entry in the map. Return value indicates new entry.
- Parameters:
key
-
value
-
-
boolean valuePut(
K sampleKey,
V value)
Ensures the passed value to be either set to an existing entry appropriate to sampleKey or inserted as a new one.
- Parameters:
sampleKey
-
value
-