public class ComponentMap<T> extends AbstractComponentCollection<T> implements Map<String,T>
componentType, container, hostComponent, logger, role, roleHints
Constructor and Description |
---|
ComponentMap(MutablePlexusContainer container,
Class<T> type,
String role,
List<String> roleHints,
String hostComponent) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkUpdate() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<String,T>> |
entrySet() |
boolean |
equals(Object o) |
T |
get(Object k) |
int |
hashCode() |
boolean |
isEmpty() |
Set<String> |
keySet() |
T |
put(String key,
T value) |
void |
putAll(Map<? extends String,? extends T> map) |
protected void |
releaseAllCallback() |
T |
remove(Object key) |
int |
size() |
Collection<T> |
values() |
clear, getComponentDescriptorMap, lookup
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
clear, compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public boolean containsKey(Object key)
containsKey
in interface Map<String,T>
public boolean containsValue(Object value)
containsValue
in interface Map<String,T>
public boolean equals(Object o)
public int hashCode()
protected boolean checkUpdate()
checkUpdate
in class AbstractComponentCollection<T>
protected void releaseAllCallback()
releaseAllCallback
in class AbstractComponentCollection<T>
Copyright © 2001–2019 Codehaus Plexus. All rights reserved.