Package org.jboss.logmanager
Class LogManager.ReadOnlyHashMap<K,V>
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- org.jboss.logmanager.LogManager.ReadOnlyHashMap<K,V>
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.util.Map<K,V>
- Enclosing class:
- LogManager
private static final class LogManager.ReadOnlyHashMap<K,V> extends java.util.HashMap<K,V>
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description ReadOnlyHashMap(int size)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidadd(K key, V value)voidclear()(package private) static <K,V>
LogManager.ReadOnlyHashMap<K,V>of(java.util.List<LogManager.ReadOnlyMapEntry<K,V>> entries)Vput(K key, V value)voidputAll(java.util.Map<? extends K,? extends V> m)Vremove(java.lang.Object key)java.util.Collection<V>values()-
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, putIfAbsent, remove, replace, replace, replaceAll, size
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
of
static <K,V> LogManager.ReadOnlyHashMap<K,V> of(java.util.List<LogManager.ReadOnlyMapEntry<K,V>> entries)
-
remove
public V remove(java.lang.Object key)
-
clear
public void clear()
-
-