org.codehaus.plexus.component.collections
Class ComponentList
java.lang.Object
org.codehaus.plexus.component.collections.AbstractComponentCollection
org.codehaus.plexus.component.collections.ComponentList
- All Implemented Interfaces:
- Iterable, Collection, List
public class ComponentList
- extends AbstractComponentCollection
- implements List
- Author:
- Jason van Zyl FIXME: [jdcasey] We need to review the efficiency (in speed and memory) of this collection...
| Methods inherited from interface java.util.List |
clear |
ComponentList
public ComponentList(PlexusContainer container,
org.codehaus.plexus.classworlds.realm.ClassRealm realm,
String role,
List roleHints,
String hostComponent)
size
public int size()
- Specified by:
size in interface Collection- Specified by:
size in interface List
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface Collection- Specified by:
isEmpty in interface List
contains
public boolean contains(Object object)
- Specified by:
contains in interface Collection- Specified by:
contains in interface List
iterator
public Iterator iterator()
- Specified by:
iterator in interface Iterable- Specified by:
iterator in interface Collection- Specified by:
iterator in interface List
toArray
public Object[] toArray()
- Specified by:
toArray in interface Collection- Specified by:
toArray in interface List
toArray
public Object[] toArray(Object[] ts)
- Specified by:
toArray in interface Collection- Specified by:
toArray in interface List
add
public boolean add(Object object)
- Specified by:
add in interface Collection- Specified by:
add in interface List
remove
public boolean remove(Object object)
- Specified by:
remove in interface Collection- Specified by:
remove in interface List
containsAll
public boolean containsAll(Collection collection)
- Specified by:
containsAll in interface Collection- Specified by:
containsAll in interface List
addAll
public boolean addAll(Collection collection)
- Specified by:
addAll in interface Collection- Specified by:
addAll in interface List
addAll
public boolean addAll(int i,
Collection collection)
- Specified by:
addAll in interface List
removeAll
public boolean removeAll(Collection collection)
- Specified by:
removeAll in interface Collection- Specified by:
removeAll in interface List
retainAll
public boolean retainAll(Collection collection)
- Specified by:
retainAll in interface Collection- Specified by:
retainAll in interface List
equals
public boolean equals(Object object)
- Specified by:
equals in interface Collection- Specified by:
equals in interface List- Overrides:
equals in class Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface Collection- Specified by:
hashCode in interface List- Overrides:
hashCode in class Object
get
public Object get(int i)
- Specified by:
get in interface List
set
public Object set(int i,
Object object)
- Specified by:
set in interface List
add
public void add(int i,
Object object)
- Specified by:
add in interface List
remove
public Object remove(int i)
- Specified by:
remove in interface List
indexOf
public int indexOf(Object object)
- Specified by:
indexOf in interface List
lastIndexOf
public int lastIndexOf(Object object)
- Specified by:
lastIndexOf in interface List
listIterator
public ListIterator listIterator()
- Specified by:
listIterator in interface List
listIterator
public ListIterator listIterator(int i)
- Specified by:
listIterator in interface List
subList
public List subList(int i,
int i1)
- Specified by:
subList in interface List
releaseAllCallback
protected void releaseAllCallback()
- Specified by:
releaseAllCallback in class AbstractComponentCollection
Copyright © 2001-2008 Codehaus. All Rights Reserved.