K
- the type of keys maintained by this map
V
- the type of mapped values
Map<K,V>
ConcurrentHashMap
, ConcurrentSkipListMap
, EnumMap
, HashMap
, IdentityHashMap
, TreeMap
, WeakHashMap
Nested Classes
static class
An Entry maintaining a key and a value.
static class
An unmodifiable Entry maintaining a key and a value.
Nested classes/interfaces declared in interface java.util.MapMap.Entry<K,V>
Constructors
void
Removes all of the mappings from this map (optional operation).
Returns a shallow copy of this AbstractMap
instance: the keys and values themselves are not cloned.
boolean
Returns true
if this map contains a mapping for the specified key.
boolean
Returns true
if this map maps one or more keys to the specified value.
boolean
Compares the specified object with this map for equality.
Returns the value to which the specified key is mapped, or null
if this map contains no mapping for the key.
int
Returns the hash code value for this map.
boolean
Returns true
if this map contains no key-value mappings.
Returns a
Set
view of the keys contained in this map.
Associates the specified value with the specified key in this map (optional operation).
void
Copies all of the mappings from the specified map to this map (optional operation).
Removes the mapping for a key from this map if it is present (optional operation).
int
Returns the number of key-value mappings in this map.
Returns a string representation of this map.
Returns a
Collection
view of the values contained in this map.
Methods declared in interface java.util.Mapcompute, computeIfAbsent, computeIfPresent, entrySet, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4