Package com.intellij.util.containers
Class FactoryMap<K,V>
- java.lang.Object
-
- com.intellij.util.containers.FactoryMap<K,V>
-
- All Implemented Interfaces:
Map<K,V>
- Direct Known Subclasses:
ConcurrentFactoryMap,InstanceMap
public abstract class FactoryMap<K,V> extends Object implements Map<K,V>
- Author:
- peter
-
-
Constructor Summary
Constructors Constructor Description FactoryMap()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontainsKey(Object key)booleancontainsValue(Object value)protected abstract Vcreate(K key)protected Map<K,V>createMap()Set<Map.Entry<K,V>>entrySet()Vget(Object key)booleanisEmpty()Set<K>keySet()Collection<V>notNullValues()Vput(K key, V value)voidputAll(Map<? extends K,? extends V> m)Vremove(Object key)intsize()Collection<V>values()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Method Detail
-
containsKey
public final boolean containsKey(Object key)
- Specified by:
containsKeyin interfaceMap<K,V>
-
notNullValues
public Collection<V> notNullValues()
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValuein interfaceMap<K,V>
-
-