Class ComponentMap<T>
java.lang.Object
org.codehaus.plexus.component.collections.AbstractComponentCollection<T>
org.codehaus.plexus.component.collections.ComponentMap<T>
- Author:
- Jason van Zyl FIXME: [jdcasey] We need to review the efficiency (in speed and memory) of this collection...
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.codehaus.plexus.component.collections.AbstractComponentCollection
componentType, container, hostComponent, logger, role, roleHints -
Constructor Summary
ConstructorsConstructorDescriptionComponentMap(MutablePlexusContainer container, Class<T> type, String role, List<String> roleHints, String hostComponent) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()booleaninthashCode()booleanisEmpty()keySet()voidprotected voidintsize()values()Methods inherited from class org.codehaus.plexus.component.collections.AbstractComponentCollection
clear, getComponentDescriptorMap, lookupMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
ComponentMap
-
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKeyin interfaceMap<String,T>
-
containsValue
- Specified by:
containsValuein interfaceMap<String,T>
-
get
-
put
-
putAll
-
keySet
-
values
-
entrySet
-
equals
-
hashCode
public int hashCode() -
remove
-
checkUpdate
protected boolean checkUpdate()- Overrides:
checkUpdatein classAbstractComponentCollection<T>
-
releaseAllCallback
protected void releaseAllCallback()- Specified by:
releaseAllCallbackin classAbstractComponentCollection<T>
-