public static class PofHelper.ReadableEntrySetMap extends AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ReadableEntrySetMap()
Create a new ReadableEntrySetMap.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Removes all mappings from this map.
|
Set |
entrySet()
Returns a set view of the mappings contained in this map.
|
Object |
put(Object oKey, Object oValue)
Associates the specified value with the specified key in this map.
|
clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, putAll, remove, size, toString, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic ReadableEntrySetMap()
public Object put(Object oKey, Object oValue)
This method is not synchronized; it only synchronizes internally if it has to add a new Entry. To ensure that the value does not change (or the Entry is not removed) before this method returns, the caller must synchronize on the map before calling this method.
put in interface Mapput in class AbstractMapoKey - key with which the specified value is to be associatedoValue - value to be associated with the specified keypublic void clear()
clear in interface Mapclear in class AbstractMappublic Set entrySet()
entrySet in interface MapentrySet in class AbstractMap