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 boolean
boolean
containsKey
(Object key) boolean
containsValue
(Object value) entrySet()
boolean
int
hashCode()
boolean
isEmpty()
keySet()
void
protected void
int
size()
values()
Methods inherited from class org.codehaus.plexus.component.collections.AbstractComponentCollection
clear, getComponentDescriptorMap, lookup
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods 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:
containsKey
in interfaceMap<String,
T>
-
containsValue
- Specified by:
containsValue
in interfaceMap<String,
T>
-
get
-
put
-
putAll
-
keySet
-
values
-
entrySet
-
equals
-
hashCode
public int hashCode() -
remove
-
checkUpdate
protected boolean checkUpdate()- Overrides:
checkUpdate
in classAbstractComponentCollection<T>
-
releaseAllCallback
protected void releaseAllCallback()- Specified by:
releaseAllCallback
in classAbstractComponentCollection<T>
-