|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.plexus.collections.AbstractActiveSet
org.codehaus.plexus.collections.DefaultActiveSet
public class DefaultActiveSet
| Field Summary |
|---|
| Fields inherited from interface org.codehaus.plexus.collections.ActiveSet |
|---|
ROLE |
| Constructor Summary | |
|---|---|
DefaultActiveSet()
|
|
DefaultActiveSet(org.codehaus.plexus.PlexusContainer container,
java.lang.Class role)
|
|
DefaultActiveSet(org.codehaus.plexus.PlexusContainer container,
java.lang.String role)
|
|
| Method Summary | |
|---|---|
boolean |
checkedContains(java.lang.Object value)
Same as Set.contains(Object), except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup. |
boolean |
checkedContainsAll(java.util.Collection collection)
Same as Set.containsAll(Collection), 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.Iterator |
checkedIterator()
Same as Set.iterator(), 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.lang.Object[] |
checkedToArray()
Same as Set.toArray(), except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup. |
java.lang.Object[] |
checkedToArray(java.lang.Object[] array)
Same as Set.toArray(Object[]), except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup. |
boolean |
contains(java.lang.Object value)
|
boolean |
containsAll(java.util.Collection collection)
|
boolean |
isEmpty()
Same semantics as Collection.isEmpty() or Map.isEmpty(). |
java.util.Iterator |
iterator()
|
int |
size()
Same semantics as Collection.size() or Map.size(). |
java.lang.Object[] |
toArray()
|
java.lang.Object[] |
toArray(java.lang.Object[] array)
|
| Methods inherited from class org.codehaus.plexus.collections.AbstractActiveSet |
|---|
add, addAll, checkedGetSet, clear, contextualize, enableLogging, getLogger, getRole, getSet, remove, removeAll, retainAll, 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.Set |
|---|
add, addAll, clear, equals, hashCode, remove, removeAll, retainAll |
| 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 DefaultActiveSet()
public DefaultActiveSet(org.codehaus.plexus.PlexusContainer container,
java.lang.Class role)
public DefaultActiveSet(org.codehaus.plexus.PlexusContainer container,
java.lang.String role)
| Method Detail |
|---|
public boolean contains(java.lang.Object value)
contains in interface java.util.Collectioncontains in interface java.util.Setpublic boolean containsAll(java.util.Collection collection)
containsAll in interface java.util.CollectioncontainsAll in interface java.util.Setpublic boolean isEmpty()
ActiveCollectionCollection.isEmpty() or Map.isEmpty().
isEmpty in interface java.util.CollectionisEmpty in interface java.util.SetisEmpty in interface ActiveCollectionpublic java.util.Iterator iterator()
iterator in interface java.lang.Iterableiterator in interface java.util.Collectioniterator in interface java.util.Setpublic int size()
ActiveCollectionCollection.size() or Map.size().
size in interface java.util.Collectionsize in interface java.util.Setsize in interface ActiveCollectionpublic java.lang.Object[] toArray()
toArray in interface java.util.CollectiontoArray in interface java.util.Setpublic java.lang.Object[] toArray(java.lang.Object[] array)
toArray in interface java.util.CollectiontoArray in interface java.util.Set
public boolean checkedContains(java.lang.Object value)
throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
ActiveSetSet.contains(Object), except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup.
checkedContains in interface ActiveSetorg.codehaus.plexus.component.repository.exception.ComponentLookupException - if one or more elements of the set fail during lookup.
public boolean checkedContainsAll(java.util.Collection collection)
throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
ActiveSetSet.containsAll(Collection), except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup.
checkedContainsAll in interface ActiveSetorg.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.Iterator checkedIterator()
throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
ActiveSetSet.iterator(), except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup.
checkedIterator in interface ActiveSetorg.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.lang.Object[] checkedToArray()
throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
ActiveSetSet.toArray(), except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup.
checkedToArray in interface ActiveSetorg.codehaus.plexus.component.repository.exception.ComponentLookupException - if one or more elements of the set fail during lookup.
public java.lang.Object[] checkedToArray(java.lang.Object[] array)
throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
ActiveSetSet.toArray(Object[]), except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup.
checkedToArray in interface ActiveSetorg.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 | ||||||||