org.codehaus.plexus.component.collections
public class ComponentList<T> extends AbstractComponentCollection<T> implements java.util.List<T>
componentType, container, hostComponent, logger, role, roleHints
Constructor and Description |
---|
ComponentList(MutablePlexusContainer container,
java.lang.Class<T> type,
java.lang.String role,
java.util.List<java.lang.String> roleHints,
java.lang.String hostComponent) |
Modifier and Type | Method and Description |
---|---|
void |
add(int i,
T object) |
boolean |
add(T object) |
boolean |
addAll(java.util.Collection<? extends T> collection) |
boolean |
addAll(int i,
java.util.Collection<? extends T> collection) |
boolean |
contains(java.lang.Object object) |
boolean |
containsAll(java.util.Collection<?> collection) |
boolean |
equals(java.lang.Object o) |
T |
get(int i) |
int |
hashCode() |
int |
indexOf(java.lang.Object object) |
boolean |
isEmpty() |
java.util.Iterator<T> |
iterator() |
int |
lastIndexOf(java.lang.Object object) |
java.util.ListIterator<T> |
listIterator() |
java.util.ListIterator<T> |
listIterator(int index) |
protected void |
releaseAllCallback() |
T |
remove(int i) |
boolean |
remove(java.lang.Object object) |
boolean |
removeAll(java.util.Collection<?> collection) |
boolean |
retainAll(java.util.Collection<?> collection) |
T |
set(int i,
T object) |
int |
size() |
java.util.List<T> |
subList(int fromIndex,
int toIndex) |
java.lang.Object[] |
toArray() |
java.lang.Object[] |
toArray(java.lang.Object[] ts) |
checkUpdate, clear, getComponentDescriptorMap, lookup
public ComponentList(MutablePlexusContainer container, java.lang.Class<T> type, java.lang.String role, java.util.List<java.lang.String> roleHints, java.lang.String hostComponent)
public int size()
public boolean isEmpty()
public boolean contains(java.lang.Object object)
public java.util.Iterator<T> iterator()
public java.lang.Object[] toArray()
public java.lang.Object[] toArray(java.lang.Object[] ts)
public boolean add(T object)
public boolean remove(java.lang.Object object)
public boolean containsAll(java.util.Collection<?> collection)
public boolean addAll(java.util.Collection<? extends T> collection)
public boolean addAll(int i, java.util.Collection<? extends T> collection)
addAll
in interface java.util.List<T>
public boolean removeAll(java.util.Collection<?> collection)
public boolean retainAll(java.util.Collection<?> collection)
public boolean equals(java.lang.Object o)
public int hashCode()
public int indexOf(java.lang.Object object)
indexOf
in interface java.util.List<T>
public int lastIndexOf(java.lang.Object object)
lastIndexOf
in interface java.util.List<T>
public java.util.ListIterator<T> listIterator()
listIterator
in interface java.util.List<T>
public java.util.ListIterator<T> listIterator(int index)
listIterator
in interface java.util.List<T>
public java.util.List<T> subList(int fromIndex, int toIndex)
subList
in interface java.util.List<T>
protected void releaseAllCallback()
releaseAllCallback
in class AbstractComponentCollection<T>