public class DefaultActiveSet extends AbstractActiveSet implements ActiveSet, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable, org.codehaus.plexus.logging.LogEnabled
| Constructor and Description |
|---|
DefaultActiveSet() |
DefaultActiveSet(org.codehaus.plexus.PlexusContainer container,
Class role) |
DefaultActiveSet(org.codehaus.plexus.PlexusContainer container,
String role) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkedContains(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(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. |
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. |
Object[] |
checkedToArray()
Same as
Set.toArray(), except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup. |
Object[] |
checkedToArray(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(Object value) |
boolean |
containsAll(Collection collection) |
boolean |
isEmpty()
Same semantics as
Collection.isEmpty() or Map.isEmpty(). |
Iterator |
iterator() |
int |
size()
Same semantics as
Collection.size() or Map.size(). |
Object[] |
toArray() |
Object[] |
toArray(Object[] array) |
add, addAll, checkedGetSet, clear, contextualize, enableLogging, getLogger, getRole, getSet, remove, removeAll, retainAll, setRoleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRoleadd, addAll, clear, equals, hashCode, remove, removeAll, retainAll, spliteratorparallelStream, removeIf, streampublic DefaultActiveSet()
public DefaultActiveSet(org.codehaus.plexus.PlexusContainer container,
Class role)
public DefaultActiveSet(org.codehaus.plexus.PlexusContainer container,
String role)
public boolean contains(Object value)
contains in interface Collectioncontains in interface Setpublic boolean containsAll(Collection collection)
containsAll in interface CollectioncontainsAll in interface Setpublic boolean isEmpty()
ActiveCollectionCollection.isEmpty() or Map.isEmpty().isEmpty in interface CollectionisEmpty in interface SetisEmpty in interface ActiveCollectionpublic Iterator iterator()
public int size()
ActiveCollectionCollection.size() or Map.size().size in interface Collectionsize in interface Setsize in interface ActiveCollectionpublic Object[] toArray()
toArray in interface CollectiontoArray in interface Setpublic Object[] toArray(Object[] array)
toArray in interface CollectiontoArray in interface Setpublic boolean checkedContains(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(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.ComponentLookupExceptionpublic 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.ComponentLookupExceptionpublic 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 Object[] checkedToArray(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.Copyright © 2001–2018 Codehaus Plexus. All rights reserved.