T - the entry type of the mappublic interface ExternalMap<T>
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(CharSequence key) |
T |
get(CharSequence key)
Element access.
|
Iterable<Map.Entry<CharSequence,T>> |
getAll(Set<? extends CharSequence> keys) |
T |
put(CharSequence key,
T value)
Put a record into the map.
|
void |
putAll(Map<? extends CharSequence,? extends T> m)
Copies all of the mappings from the specified map to this map (optional
operation).
|
T |
remove(CharSequence key)
Removes the mapping for a key from this map if it is present (optional
operation).
|
boolean containsKey(CharSequence key)
key - T get(CharSequence key)
key - T put(CharSequence key, T value)
key - value - T remove(CharSequence key)
If this map permits null values, then a return value of null does not necessarily indicate that the map contained no mapping for the key; it's also possible that the map explicitly mapped the key to null.
The map will not contain a mapping for the specified key once the call returns.
key - key whose mapping is to be removed from the mapvoid putAll(Map<? extends CharSequence,? extends T> m)
m - Iterable<Map.Entry<CharSequence,T>> getAll(Set<? extends CharSequence> keys)
Copyright © 2017 The Apache Software Foundation. All rights reserved.