Class ComponentList<T>
java.lang.Object
org.codehaus.plexus.component.collections.AbstractComponentCollection<T>
org.codehaus.plexus.component.collections.ComponentList<T>
- All Implemented Interfaces:
Iterable<T>
,Collection<T>
,List<T>
-
Field Summary
FieldsFields inherited from class org.codehaus.plexus.component.collections.AbstractComponentCollection
componentType, container, hostComponent, logger, role, roleHints
-
Constructor Summary
ConstructorsConstructorDescriptionComponentList
(MutablePlexusContainer container, Class<T> type, String role, List<String> roleHints, String hostComponent) -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
boolean
addAll
(int i, Collection<? extends T> collection) boolean
addAll
(Collection<? extends T> collection) protected boolean
boolean
boolean
containsAll
(Collection<?> collection) boolean
get
(int i) getList()
int
hashCode()
int
boolean
isEmpty()
iterator()
int
lastIndexOf
(Object object) listIterator
(int index) protected void
remove
(int i) boolean
boolean
removeAll
(Collection<?> collection) boolean
retainAll
(Collection<?> collection) int
size()
subList
(int fromIndex, int toIndex) Object[]
toArray()
<X> X[]
toArray
(X[] ts) Methods inherited from class org.codehaus.plexus.component.collections.AbstractComponentCollection
clear, getComponentDescriptorMap, lookup
-
Field Details
-
components
-
-
Constructor Details
-
ComponentList
-
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
contains
-
iterator
-
toArray
-
toArray
public <X> X[] toArray(X[] ts) -
add
-
remove
-
containsAll
- Specified by:
containsAll
in interfaceCollection<T>
- Specified by:
containsAll
in interfaceList<T>
-
addAll
-
addAll
-
removeAll
-
retainAll
-
equals
-
hashCode
public int hashCode() -
get
-
set
-
add
-
remove
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOf
in interfaceList<T>
-
listIterator
- Specified by:
listIterator
in interfaceList<T>
-
listIterator
- Specified by:
listIterator
in interfaceList<T>
-
subList
-
getList
-
checkUpdate
protected boolean checkUpdate()- Overrides:
checkUpdate
in classAbstractComponentCollection<T>
-
releaseAllCallback
protected void releaseAllCallback()- Specified by:
releaseAllCallback
in classAbstractComponentCollection<T>
-