public abstract class StringKeysMap<V> extends AbstractMap<String,V>
| Modifier and Type | Class and Description |
|---|---|
class |
StringKeysMap.EntryIter
The iterator class used to iterator the entries in this map.
|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
StringKeysMap() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(Object key) |
V |
get(Object key) |
protected abstract Enumeration<String> |
getKeys()
Returns an enumeration of keys.
|
protected abstract V |
getValue(String key)
Returns the value associated with the specified key.
|
protected abstract void |
removeValue(String key)
Removes the specified key.
|
protected abstract void |
setValue(String key,
V value)
Sets the value associated with the specified key.
|
clear, clone, containsValue, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic boolean containsKey(Object key)
containsKey in interface Map<String,V>containsKey in class AbstractMap<String,V>protected abstract V getValue(String key)
protected abstract Enumeration<String> getKeys()
protected abstract void setValue(String key, V value)
protected abstract void removeValue(String key)
Copyright © 2021. All rights reserved.