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, setRole
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRole
public 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 Map
public boolean containsValue(Object value)
containsValue
in interface Map
public boolean isEmpty()
ActiveCollection
Collection.isEmpty()
or Map.isEmpty()
.isEmpty
in interface Map
isEmpty
in interface ActiveCollection
public int size()
ActiveCollection
Collection.size()
or Map.size()
.size
in interface Map
size
in interface ActiveCollection
public Collection values()
public boolean checkedContainsKey(Object key) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
ActiveMap
Map.containsKey(Object)
, except this method will throw a
ComponentLookupException
if one or more elements in the set fail during lookup.checkedContainsKey
in interface ActiveMap
org.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
ActiveMap
Map.containsValue(Object)
, except this method will throw a
ComponentLookupException
if one or more elements in the set fail during lookup.checkedContainsValue
in interface ActiveMap
org.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
ActiveMap
Map.entrySet()
, except this method will throw a
ComponentLookupException
if one or more elements in the set fail during lookup.checkedEntrySet
in interface ActiveMap
org.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
ActiveMap
Map.get(Object)
, except this method will throw a
ComponentLookupException
if one or more elements in the set fail during lookup.checkedGet
in interface ActiveMap
org.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
ActiveCollection
Collection.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 ActiveCollection
org.codehaus.plexus.component.repository.exception.ComponentLookupException
public Set checkedKeySet() throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
ActiveMap
Map#keySet(Object)
, except this method will throw a
ComponentLookupException
if one or more elements in the set fail during lookup.checkedKeySet
in interface ActiveMap
org.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
ActiveCollection
Collection.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 ActiveCollection
org.codehaus.plexus.component.repository.exception.ComponentLookupException
public Collection checkedValues() throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
ActiveMap
Map#values(Object)
, except this method will throw a
ComponentLookupException
if one or more elements in the set fail during lookup.checkedValues
in interface ActiveMap
org.codehaus.plexus.component.repository.exception.ComponentLookupException
- if one or more elements of the set fail during lookup.Copyright © 2001-2012 Codehaus. All Rights Reserved.