|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.plexus.collections.AbstractActiveList
org.codehaus.plexus.collections.DefaultActiveList
public class DefaultActiveList
Field Summary |
---|
Fields inherited from interface org.codehaus.plexus.collections.ActiveList |
---|
ROLE |
Constructor Summary | |
---|---|
DefaultActiveList()
|
|
DefaultActiveList(org.codehaus.plexus.PlexusContainer container,
java.lang.Class role)
|
|
DefaultActiveList(org.codehaus.plexus.PlexusContainer container,
java.lang.String role)
|
Method Summary | |
---|---|
boolean |
checkedContains(java.lang.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(java.util.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. |
java.lang.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(java.lang.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. |
java.util.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(java.lang.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. |
java.util.ListIterator |
checkedListIterator()
Same as List.listIterator() , except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup. |
java.util.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. |
java.util.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. |
java.lang.Object[] |
checkedToArray()
Same as List.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 List.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)
|
java.lang.Object |
get(int index)
|
int |
indexOf(java.lang.Object value)
|
boolean |
isEmpty()
Same semantics as Collection.isEmpty() or Map.isEmpty() . |
java.util.Iterator |
iterator()
|
int |
lastIndexOf(java.lang.Object value)
|
java.util.ListIterator |
listIterator()
|
java.util.ListIterator |
listIterator(int index)
|
int |
size()
Same semantics as Collection.size() or Map.size() . |
java.util.List |
subList(int fromIndex,
int toIndex)
|
java.lang.Object[] |
toArray()
|
java.lang.Object[] |
toArray(java.lang.Object[] array)
|
Methods inherited from class org.codehaus.plexus.collections.AbstractActiveList |
---|
add, add, addAll, addAll, checkedGetList, clear, contextualize, enableLogging, getList, getLogger, getRole, remove, remove, removeAll, retainAll, set, 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.List |
---|
add, add, addAll, addAll, clear, equals, hashCode, remove, remove, removeAll, retainAll, set |
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 DefaultActiveList()
public DefaultActiveList(org.codehaus.plexus.PlexusContainer container, java.lang.Class role)
public DefaultActiveList(org.codehaus.plexus.PlexusContainer container, java.lang.String role)
Method Detail |
---|
public boolean checkedContains(java.lang.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(java.util.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 java.lang.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(java.lang.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 java.util.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(java.lang.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 java.util.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 java.util.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 java.util.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 java.lang.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 java.lang.Object[] checkedToArray(java.lang.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(java.lang.Object value)
contains
in interface java.util.Collection
contains
in interface java.util.List
public boolean containsAll(java.util.Collection collection)
containsAll
in interface java.util.Collection
containsAll
in interface java.util.List
public java.lang.Object get(int index)
get
in interface java.util.List
public int indexOf(java.lang.Object value)
indexOf
in interface java.util.List
public boolean isEmpty()
ActiveCollection
Collection.isEmpty()
or Map.isEmpty()
.
isEmpty
in interface java.util.Collection
isEmpty
in interface java.util.List
isEmpty
in interface ActiveCollection
public java.util.Iterator iterator()
iterator
in interface java.lang.Iterable
iterator
in interface java.util.Collection
iterator
in interface java.util.List
public int lastIndexOf(java.lang.Object value)
lastIndexOf
in interface java.util.List
public java.util.ListIterator listIterator()
listIterator
in interface java.util.List
public java.util.ListIterator listIterator(int index)
listIterator
in interface java.util.List
public int size()
ActiveCollection
Collection.size()
or Map.size()
.
size
in interface java.util.Collection
size
in interface java.util.List
size
in interface ActiveCollection
public java.util.List subList(int fromIndex, int toIndex)
subList
in interface java.util.List
public java.lang.Object[] toArray()
toArray
in interface java.util.Collection
toArray
in interface java.util.List
public java.lang.Object[] toArray(java.lang.Object[] array)
toArray
in interface java.util.Collection
toArray
in interface java.util.List
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |