|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.plexus.collections.AbstractActiveMap
org.codehaus.plexus.collections.DefaultActiveMap
public class DefaultActiveMap
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Field Summary |
|---|
| Fields inherited from interface org.codehaus.plexus.collections.ActiveMap |
|---|
ROLE |
| Constructor Summary | |
|---|---|
DefaultActiveMap()
|
|
DefaultActiveMap(org.codehaus.plexus.PlexusContainer container,
Class role)
|
|
DefaultActiveMap(org.codehaus.plexus.PlexusContainer container,
String role)
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class org.codehaus.plexus.collections.AbstractActiveMap |
|---|
checkedGetMap, clear, contextualize, enableLogging, getLogger, getMap, getRole, put, putAll, remove, setRole |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.codehaus.plexus.collections.ActiveCollection |
|---|
getRole |
| Methods inherited from interface java.util.Map |
|---|
clear, equals, hashCode, put, putAll, remove |
| Methods inherited from interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable |
|---|
contextualize |
| Methods inherited from interface org.codehaus.plexus.logging.LogEnabled |
|---|
enableLogging |
| Constructor Detail |
|---|
public DefaultActiveMap()
public DefaultActiveMap(org.codehaus.plexus.PlexusContainer container,
Class role)
public DefaultActiveMap(org.codehaus.plexus.PlexusContainer container,
String role)
| Method Detail |
|---|
public boolean containsKey(Object key)
containsKey in interface Mappublic boolean containsValue(Object value)
containsValue in interface Mappublic Set entrySet()
entrySet in interface Mappublic Object get(Object key)
get in interface Mappublic boolean isEmpty()
ActiveCollectionCollection.isEmpty() or Map.isEmpty().
isEmpty in interface MapisEmpty in interface ActiveCollectionpublic Set keySet()
keySet in interface Mappublic int size()
ActiveCollectionCollection.size() or Map.size().
size in interface Mapsize in interface ActiveCollectionpublic Collection values()
values in interface Map
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.ComponentLookupException
public 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.ComponentLookupException
public 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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||