K
- Type of keyV
- Type of valuepublic class MapNoNulls<K,V> extends Object implements Map<K,V>
Map
that tolerates no NULLs.
There is no thread-safety guarantee.
Constructor and Description |
---|
MapNoNulls(Map<K,V> origin)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<K,V>> |
entrySet() |
V |
get(Object key) |
boolean |
isEmpty() |
Set<K> |
keySet() |
V |
put(K key,
V value) |
void |
putAll(Map<? extends K,? extends V> items) |
V |
remove(Object key) |
int |
size() |
Collection<V> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
Copyright © 2017–2018 Cactoos. All rights reserved.