public class ComponentList<T> extends AbstractComponentCollection<T> implements List<T>
componentType, container, hostComponent, logger, role, roleHints
Constructor and Description |
---|
ComponentList(MutablePlexusContainer container,
Class<T> type,
String role,
List<String> roleHints,
String hostComponent) |
Modifier and Type | Method and Description |
---|---|
void |
add(int i,
T object) |
boolean |
add(T object) |
boolean |
addAll(Collection<? extends T> collection) |
boolean |
addAll(int i,
Collection<? extends T> collection) |
protected boolean |
checkUpdate() |
boolean |
contains(Object object) |
boolean |
containsAll(Collection<?> collection) |
boolean |
equals(Object o) |
T |
get(int i) |
int |
hashCode() |
int |
indexOf(Object object) |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
int |
lastIndexOf(Object object) |
ListIterator<T> |
listIterator() |
ListIterator<T> |
listIterator(int index) |
protected void |
releaseAllCallback() |
T |
remove(int i) |
boolean |
remove(Object object) |
boolean |
removeAll(Collection<?> collection) |
boolean |
retainAll(Collection<?> collection) |
T |
set(int i,
T object) |
int |
size() |
List<T> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<X> X[] |
toArray(X[] ts) |
clear, getComponentDescriptorMap, lookup
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
clear, replaceAll, sort, spliterator
parallelStream, removeIf, stream
public int size()
public boolean isEmpty()
public boolean contains(Object object)
public Object[] toArray()
public <X> X[] toArray(X[] ts)
public boolean add(T object)
public boolean remove(Object object)
public boolean containsAll(Collection<?> collection)
containsAll
in interface Collection<T>
containsAll
in interface List<T>
public boolean addAll(Collection<? extends T> collection)
public boolean addAll(int i, Collection<? extends T> collection)
public boolean removeAll(Collection<?> collection)
public boolean retainAll(Collection<?> collection)
public boolean equals(Object o)
public int hashCode()
public int lastIndexOf(Object object)
lastIndexOf
in interface List<T>
public ListIterator<T> listIterator()
listIterator
in interface List<T>
public ListIterator<T> listIterator(int index)
listIterator
in interface List<T>
protected boolean checkUpdate()
checkUpdate
in class AbstractComponentCollection<T>
protected void releaseAllCallback()
releaseAllCallback
in class AbstractComponentCollection<T>
Copyright © 2001–2019 Codehaus Plexus. All rights reserved.