public class DefaultNOptionalMap<K,V> extends Object implements NOptionalMap<K,V>
| Constructor and Description |
|---|
DefaultNOptionalMap() |
DefaultNOptionalMap(Map<K,V> map) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
NOptional<V> |
get(K key) |
NOptional<V> |
put(K key,
V value) |
NOptionalMap<K,V> |
putAll(Map<K,V> map) |
NOptionalMap<K,V> |
putIfAbsent(K key,
V value) |
NOptional<V> |
remove(K key) |
int |
size() |
Map<K,V> |
toMap() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitof, ofpublic int size()
size in interface NOptionalMap<K,V>public NOptionalMap<K,V> putAll(Map<K,V> map)
putAll in interface NOptionalMap<K,V>public NOptionalMap<K,V> putIfAbsent(K key, V value)
putIfAbsent in interface NOptionalMap<K,V>public void clear()
clear in interface NOptionalMap<K,V>Copyright © 2026 vpc open source initiative. All rights reserved.