|
|||||||||
| 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 |
|---|
java.util.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,
java.lang.Class role)
|
|
DefaultActiveMap(org.codehaus.plexus.PlexusContainer container,
java.lang.String role)
|
|
| Method Summary | |
|---|---|
boolean |
checkedContainsKey(java.lang.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(java.lang.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. |
java.util.Set |
checkedEntrySet()
Same as Map.entrySet(), except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup. |
java.lang.Object |
checkedGet(java.lang.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. |
java.util.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. |
java.util.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(java.lang.Object key)
|
boolean |
containsValue(java.lang.Object value)
|
java.util.Set |
entrySet()
|
java.lang.Object |
get(java.lang.Object key)
|
boolean |
isEmpty()
Same semantics as Collection.isEmpty() or Map.isEmpty(). |
java.util.Set |
keySet()
|
int |
size()
Same semantics as Collection.size() or Map.size(). |
java.util.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,
java.lang.Class role)
public DefaultActiveMap(org.codehaus.plexus.PlexusContainer container,
java.lang.String role)
| Method Detail |
|---|
public boolean containsKey(java.lang.Object key)
containsKey in interface java.util.Mappublic boolean containsValue(java.lang.Object value)
containsValue in interface java.util.Mappublic java.util.Set entrySet()
entrySet in interface java.util.Mappublic java.lang.Object get(java.lang.Object key)
get in interface java.util.Mappublic boolean isEmpty()
ActiveCollectionCollection.isEmpty() or Map.isEmpty().
isEmpty in interface java.util.MapisEmpty in interface ActiveCollectionpublic java.util.Set keySet()
keySet in interface java.util.Mappublic int size()
ActiveCollectionCollection.size() or Map.size().
size in interface java.util.Mapsize in interface ActiveCollectionpublic java.util.Collection values()
values in interface java.util.Map
public boolean checkedContainsKey(java.lang.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(java.lang.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 java.util.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 java.lang.Object checkedGet(java.lang.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 java.util.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 java.util.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 | ||||||||