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 TypeMethodDescriptionvoidbooleanbooleanaddAll(int i, Collection<? extends T> collection) booleanaddAll(Collection<? extends T> collection) protected booleanbooleanbooleancontainsAll(Collection<?> collection) booleanget(int i) getList()inthashCode()intbooleanisEmpty()iterator()intlastIndexOf(Object object) listIterator(int index) protected voidremove(int i) booleanbooleanremoveAll(Collection<?> collection) booleanretainAll(Collection<?> collection) intsize()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:
containsAllin interfaceCollection<T>- Specified by:
containsAllin interfaceList<T>
-
addAll
-
addAll
-
removeAll
-
retainAll
-
equals
-
hashCode
public int hashCode() -
get
-
set
-
add
-
remove
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<T>
-
listIterator
- Specified by:
listIteratorin interfaceList<T>
-
listIterator
- Specified by:
listIteratorin interfaceList<T>
-
subList
-
getList
-
checkUpdate
protected boolean checkUpdate()- Overrides:
checkUpdatein classAbstractComponentCollection<T>
-
releaseAllCallback
protected void releaseAllCallback()- Specified by:
releaseAllCallbackin classAbstractComponentCollection<T>
-