public interface ImmutableMappedData<K,V,I extends ImmutableMappedData<K,V,I,M>,M extends MappedData<K,V,M,I>> extends ImmutableDataManipulator<I,M>
Modifier and Type | Method and Description |
---|---|
default Map<K,V> |
asMap()
Gets this manipulator as a
Map . |
Optional<V> |
get(K key)
Gets the
value for the provided key , if available. |
Set<K> |
getMapKeys()
Gets a
Set of keys available in this manipulator. |
ImmutableMapValue<K,V> |
getMapValue()
Gets the
ImmutableMapValue of this manipulator. |
default Set<Map.Entry<K,V>> |
getMapValues()
|
asMutable, copy, with, with
getContentVersion, toContainer
Optional<V> get(K key)
value
for the provided key
, if available.key
- The keyMap.get(Object)
Set<K> getMapKeys()
Set
of keys
available in this manipulator.Map.keySet()
default Set<Map.Entry<K,V>> getMapValues()
Map.entrySet()
ImmutableMapValue<K,V> getMapValue()
ImmutableMapValue
of this manipulator.