|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActiveList
Collection with List
semantics, which is backed by a PlexusContainer
instance,
and retrieves a fresh batch of elements for each method call.
NOTE: All active collections are immutable, and will throw an
UnsupportedOperationException
if a mutator method is called.
Field Summary | |
---|---|
static String |
ROLE
|
Method Summary | |
---|---|
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. |
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. |
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. |
Methods inherited from interface org.codehaus.plexus.collections.ActiveCollection |
---|
checkedIsEmpty, checkedSize, getRole, isEmpty, size |
Methods inherited from interface java.util.List |
---|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
Field Detail |
---|
static final String ROLE
Method Detail |
---|
boolean checkedContains(Object value) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
List.contains(Object)
, except this method will throw a
ComponentLookupException
if one or more elements in the set fail during lookup.
org.codehaus.plexus.component.repository.exception.ComponentLookupException
- if one or more elements of the set fail during lookup.boolean checkedContainsAll(Collection collection) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
List.containsAll(Collection)
, except this method will throw a
ComponentLookupException
if one or more elements in the set fail during lookup.
org.codehaus.plexus.component.repository.exception.ComponentLookupException
- if one or more elements of the set fail during lookup.Object checkedGet(int index) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
List.get(int)
, except this method will throw a
ComponentLookupException
if one or more elements in the set fail during lookup.
org.codehaus.plexus.component.repository.exception.ComponentLookupException
- if one or more elements of the set fail during lookup.int checkedIndexOf(Object value) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
List.indexOf(Object)
, except this method will throw a
ComponentLookupException
if one or more elements in the set fail during lookup.
org.codehaus.plexus.component.repository.exception.ComponentLookupException
- if one or more elements of the set fail during lookup.Iterator checkedIterator() throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
List.iterator()
, except this method will throw a
ComponentLookupException
if one or more elements in the set fail during lookup.
org.codehaus.plexus.component.repository.exception.ComponentLookupException
- if one or more elements of the set fail during lookup.int checkedLastIndexOf(Object value) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
List.lastIndexOf(Object)
, except this method will throw a
ComponentLookupException
if one or more elements in the set fail during lookup.
org.codehaus.plexus.component.repository.exception.ComponentLookupException
- if one or more elements of the set fail during lookup.ListIterator checkedListIterator() throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
List.listIterator()
, except this method will throw a
ComponentLookupException
if one or more elements in the set fail during lookup.
org.codehaus.plexus.component.repository.exception.ComponentLookupException
- if one or more elements of the set fail during lookup.ListIterator checkedListIterator(int index) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
List.listIterator(int)
, except this method will throw a
ComponentLookupException
if one or more elements in the set fail during lookup.
org.codehaus.plexus.component.repository.exception.ComponentLookupException
- if one or more elements of the set fail during lookup.List checkedSubList(int fromIndex, int toIndex) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
List.subList(int, int)
, except this method will throw a
ComponentLookupException
if one or more elements in the set fail during lookup.
org.codehaus.plexus.component.repository.exception.ComponentLookupException
- if one or more elements of the set fail during lookup.Object[] checkedToArray() throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
List.toArray()
, except this method will throw a
ComponentLookupException
if one or more elements in the set fail during lookup.
org.codehaus.plexus.component.repository.exception.ComponentLookupException
- if one or more elements of the set fail during lookup.Object[] checkedToArray(Object[] array) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
List.toArray(Object[])
, except this method will throw a
ComponentLookupException
if one or more elements in the set fail during lookup.
org.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 |