public class DefaultActiveMap extends AbstractActiveMap implements ActiveMap, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable, org.codehaus.plexus.logging.LogEnabled
| Constructor and Description |
|---|
DefaultActiveMap() |
DefaultActiveMap(org.codehaus.plexus.PlexusContainer container,
Class role) |
DefaultActiveMap(org.codehaus.plexus.PlexusContainer container,
String role) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkedContainsKey(Object key)
Same as
Map.containsKey(Object), except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup. |
boolean |
checkedContainsValue(Object value)
Same as
Map.containsValue(Object), except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup. |
Set |
checkedEntrySet()
Same as
Map.entrySet(), except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup. |
Object |
checkedGet(Object key)
Same as
Map.get(Object), except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup. |
boolean |
checkedIsEmpty()
Same semantics as
Collection.isEmpty() or Map.isEmpty(), except this method
will throw a ComponentLookupException if one or more of the elements collected here
fails during lookup. |
Set |
checkedKeySet()
Same as
Map#keySet(Object), except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup. |
int |
checkedSize()
Same semantics as
Collection.size() or Map.size(), except this method
will throw a ComponentLookupException if one or more of the elements collected here
fails during lookup. |
Collection |
checkedValues()
Same as
Map#values(Object), except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup. |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set |
entrySet() |
Object |
get(Object key) |
boolean |
isEmpty()
Same semantics as
Collection.isEmpty() or Map.isEmpty(). |
Set |
keySet() |
int |
size()
Same semantics as
Collection.size() or Map.size(). |
Collection |
values() |
checkedGetMap, clear, contextualize, enableLogging, getLogger, getMap, getRole, put, putAll, remove, setRoleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRoleclear, compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAllpublic DefaultActiveMap()
public DefaultActiveMap(org.codehaus.plexus.PlexusContainer container,
Class role)
public DefaultActiveMap(org.codehaus.plexus.PlexusContainer container,
String role)
public boolean containsKey(Object key)
containsKey in interface Mappublic boolean containsValue(Object value)
containsValue in interface Mappublic boolean isEmpty()
ActiveCollectionCollection.isEmpty() or Map.isEmpty().isEmpty in interface MapisEmpty in interface ActiveCollectionpublic int size()
ActiveCollectionCollection.size() or Map.size().size in interface Mapsize in interface ActiveCollectionpublic Collection values()
public boolean checkedContainsKey(Object key) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
ActiveMapMap.containsKey(Object), except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup.checkedContainsKey in interface ActiveMaporg.codehaus.plexus.component.repository.exception.ComponentLookupException - if one or more elements of the set fail during lookup.public boolean checkedContainsValue(Object value) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
ActiveMapMap.containsValue(Object), except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup.checkedContainsValue in interface ActiveMaporg.codehaus.plexus.component.repository.exception.ComponentLookupException - if one or more elements of the set fail during lookup.public Set checkedEntrySet() throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
ActiveMapMap.entrySet(), except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup.checkedEntrySet in interface ActiveMaporg.codehaus.plexus.component.repository.exception.ComponentLookupException - if one or more elements of the set fail during lookup.public Object checkedGet(Object key) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
ActiveMapMap.get(Object), except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup.checkedGet in interface ActiveMaporg.codehaus.plexus.component.repository.exception.ComponentLookupException - if one or more elements of the set fail during lookup.public boolean checkedIsEmpty()
throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
ActiveCollectionCollection.isEmpty() or Map.isEmpty(), except this method
will throw a ComponentLookupException if one or more of the elements collected here
fails during lookup.checkedIsEmpty in interface ActiveCollectionorg.codehaus.plexus.component.repository.exception.ComponentLookupExceptionpublic Set checkedKeySet() throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
ActiveMapMap#keySet(Object), except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup.checkedKeySet in interface ActiveMaporg.codehaus.plexus.component.repository.exception.ComponentLookupException - if one or more elements of the set fail during lookup.public int checkedSize()
throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
ActiveCollectionCollection.size() or Map.size(), except this method
will throw a ComponentLookupException if one or more of the elements collected here
fails during lookup.checkedSize in interface ActiveCollectionorg.codehaus.plexus.component.repository.exception.ComponentLookupExceptionpublic Collection checkedValues() throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
ActiveMapMap#values(Object), except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup.checkedValues in interface ActiveMaporg.codehaus.plexus.component.repository.exception.ComponentLookupException - if one or more elements of the set fail during lookup.Copyright © 2001–2018 Codehaus Plexus. All rights reserved.