- All Superinterfaces:
- CapacityCarrying,- CapacityExtendable,- ExtendedCollection<KeyValue<K,V>>,- ExtendedMap<K,V>,- Sized
- All Known Subinterfaces:
- XAddGetMap<K,V>,- XAddingTable<K,V>,- XBasicTable<K,V>,- XChart<K,V>,- XMap<K,V>,- XPutGetMap<K,V>,- XPuttingMap<K,V>,- XTable<K,V>
- All Known Implementing Classes:
- EqHashTable,- HashTable,- LockedMap
public interface XAddingMap<K,V>
extends CapacityExtendable, ExtendedMap<K,V>
- 
- 
Method Summary
| Modifier and Type | Method | Description |  
| boolean | add(K key,
V value) | Adds the passed key and value as an entry if key is not yet contained. |  
| boolean | nullKeyAllowed() |  |  
| boolean | nullValuesAllowed() |  |  
| boolean | set(K key,
V value) | Sets the passed key and value to an appropriate entry if one can be found. |  
| boolean | valueSet(K sampleKey,
V value) | Sets only the passed value to an existing entry appropriate to the passed sampleKey. |  
 
 
 
Methods inherited from interface one.microstream.collections.interfaces.SizedisEmpty, size
 
- 
Method Details
- 
- 
boolean nullValuesAllowed() 
- 
boolean add( K key,
V value)
 Adds the passed key and value as an entry if key is not yet contained. Return value indicates new entry. 
- Parameters:
- key-
- value-
 
- 
boolean set( K key,
V value)
 Sets the passed key and value to an appropriate entry if one can be found. Return value indicates entry change. 
- Parameters:
- key-
- value-
 
- 
boolean valueSet( K sampleKey,
V value)
 Sets only the passed value to an existing entry appropriate to the passed sampleKey.
 Returns value indicates change. 
- Parameters:
- sampleKey-
- value-