Interface WritableMapValue<K,V>
- All Superinterfaces:
ReadableContainerValue<Map<K,,V>, V> ReadableMapValue<K,,V> ReadableObjectValue<Map<K,,V>> ReadableValue<Map<K,,V>> Supplier<Map<K,,V>> WritableContainerValue<Map<K,,V>, V> WritableObjectValue<Map<K,,V>> WritableValue<Map<K,V>>
public interface WritableMapValue<K,V>
extends WritableContainerValue<Map<K,V>,V>, ReadableMapValue<K,V>
- Since:
- 1.0.0
-
Method Summary
Methods inherited from interface io.github.mmm.value.observable.container.ReadableContainerValue
isEmptyMethods inherited from interface io.github.mmm.value.observable.container.map.ReadableMapValue
getFallbackSafeValue, getValueClass, sizeMethods inherited from interface io.github.mmm.value.observable.object.ReadableObjectValue
getValueMethods inherited from interface io.github.mmm.value.ReadableValue
get, getSafeMethods inherited from interface io.github.mmm.value.observable.object.WritableObjectValue
setValueMethods inherited from interface io.github.mmm.value.WritableValue
set
-
Method Details
-
getOrCreate
- Specified by:
getOrCreatein interfaceWritableContainerValue<K,V> - Returns:
- the current null-safe
value. UnlikeReadableValue.getSafe()this method will modify and initialize thevaluewith an empty mutable container if it wasnull.
-