public class DefaultActiveList extends AbstractActiveList implements ActiveList, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable, org.codehaus.plexus.logging.LogEnabled
ROLE
Constructor and Description |
---|
DefaultActiveList() |
DefaultActiveList(org.codehaus.plexus.PlexusContainer container,
Class role) |
DefaultActiveList(org.codehaus.plexus.PlexusContainer container,
String role) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkedContains(Object value)
Same as
List.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
List.containsAll(Collection) , except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup. |
Object |
checkedGet(int index)
Same as
List.get(int) , except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup. |
int |
checkedIndexOf(Object value)
Same as
List.indexOf(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. |
Iterator |
checkedIterator()
Same as
List.iterator() , except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup. |
int |
checkedLastIndexOf(Object value)
Same as
List.lastIndexOf(Object) , except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup. |
ListIterator |
checkedListIterator()
Same as
List.listIterator() , except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup. |
ListIterator |
checkedListIterator(int index)
Same as
List.listIterator(int) , 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. |
List |
checkedSubList(int fromIndex,
int toIndex)
Same as
List.subList(int, int) , except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup. |
Object[] |
checkedToArray()
Same as
List.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
List.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) |
Object |
get(int index) |
int |
indexOf(Object value) |
boolean |
isEmpty()
Same semantics as
Collection.isEmpty() or Map.isEmpty() . |
Iterator |
iterator() |
int |
lastIndexOf(Object value) |
ListIterator |
listIterator() |
ListIterator |
listIterator(int index) |
int |
size()
Same semantics as
Collection.size() or Map.size() . |
List |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
Object[] |
toArray(Object[] array) |
add, add, addAll, addAll, checkedGetList, clear, contextualize, enableLogging, getList, getLogger, getRole, remove, remove, removeAll, retainAll, set, setRole
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRole
add, add, addAll, addAll, clear, equals, hashCode, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator
parallelStream, removeIf, stream
public DefaultActiveList()
public DefaultActiveList(org.codehaus.plexus.PlexusContainer container, Class role)
public DefaultActiveList(org.codehaus.plexus.PlexusContainer container, String role)
public boolean checkedContains(Object value) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
ActiveList
List.contains(Object)
, except this method will throw a
ComponentLookupException
if one or more elements in the set fail during lookup.checkedContains
in interface ActiveList
org.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
ActiveList
List.containsAll(Collection)
, except this method will throw a
ComponentLookupException
if one or more elements in the set fail during lookup.checkedContainsAll
in interface ActiveList
org.codehaus.plexus.component.repository.exception.ComponentLookupException
- if one or more elements of the set fail during lookup.public Object checkedGet(int index) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
ActiveList
List.get(int)
, except this method will throw a
ComponentLookupException
if one or more elements in the set fail during lookup.checkedGet
in interface ActiveList
org.codehaus.plexus.component.repository.exception.ComponentLookupException
- if one or more elements of the set fail during lookup.public int checkedIndexOf(Object value) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
ActiveList
List.indexOf(Object)
, except this method will throw a
ComponentLookupException
if one or more elements in the set fail during lookup.checkedIndexOf
in interface ActiveList
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 Iterator checkedIterator() throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
ActiveList
List.iterator()
, except this method will throw a
ComponentLookupException
if one or more elements in the set fail during lookup.checkedIterator
in interface ActiveList
org.codehaus.plexus.component.repository.exception.ComponentLookupException
- if one or more elements of the set fail during lookup.public int checkedLastIndexOf(Object value) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
ActiveList
List.lastIndexOf(Object)
, except this method will throw a
ComponentLookupException
if one or more elements in the set fail during lookup.checkedLastIndexOf
in interface ActiveList
org.codehaus.plexus.component.repository.exception.ComponentLookupException
- if one or more elements of the set fail during lookup.public ListIterator checkedListIterator() throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
ActiveList
List.listIterator()
, except this method will throw a
ComponentLookupException
if one or more elements in the set fail during lookup.checkedListIterator
in interface ActiveList
org.codehaus.plexus.component.repository.exception.ComponentLookupException
- if one or more elements of the set fail during lookup.public ListIterator checkedListIterator(int index) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
ActiveList
List.listIterator(int)
, except this method will throw a
ComponentLookupException
if one or more elements in the set fail during lookup.checkedListIterator
in interface ActiveList
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 List checkedSubList(int fromIndex, int toIndex) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
ActiveList
List.subList(int, int)
, except this method will throw a
ComponentLookupException
if one or more elements in the set fail during lookup.checkedSubList
in interface ActiveList
org.codehaus.plexus.component.repository.exception.ComponentLookupException
- if one or more elements of the set fail during lookup.public Object[] checkedToArray() throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
ActiveList
List.toArray()
, except this method will throw a
ComponentLookupException
if one or more elements in the set fail during lookup.checkedToArray
in interface ActiveList
org.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
ActiveList
List.toArray(Object[])
, except this method will throw a
ComponentLookupException
if one or more elements in the set fail during lookup.checkedToArray
in interface ActiveList
org.codehaus.plexus.component.repository.exception.ComponentLookupException
- if one or more elements of the set fail during lookup.public boolean contains(Object value)
contains
in interface Collection
contains
in interface List
public boolean containsAll(Collection collection)
containsAll
in interface Collection
containsAll
in interface List
public boolean isEmpty()
ActiveCollection
Collection.isEmpty()
or Map.isEmpty()
.isEmpty
in interface Collection
isEmpty
in interface List
isEmpty
in interface ActiveCollection
public Iterator iterator()
public int lastIndexOf(Object value)
lastIndexOf
in interface List
public ListIterator listIterator()
listIterator
in interface List
public ListIterator listIterator(int index)
listIterator
in interface List
public int size()
ActiveCollection
Collection.size()
or Map.size()
.size
in interface Collection
size
in interface List
size
in interface ActiveCollection
public Object[] toArray()
toArray
in interface Collection
toArray
in interface List
Copyright © 2001–2015 Codehaus. All rights reserved.