de.jstacs.parameters
Class ParameterSet.ParameterList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<Parameter>
de.jstacs.parameters.ParameterSet.ParameterList
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<Parameter>, Collection<Parameter>, List<Parameter>, RandomAccess
- Enclosing class:
- ParameterSet
public class ParameterSet.ParameterList
- extends ArrayList<Parameter>
Class for a List of Parameters that basically
has the same functionality as ArrayList, but additionally takes
care of the references Parameter.parent.
- Author:
- Jan Grau
- See Also:
- Serialized Form
| Methods inherited from class java.util.ArrayList |
clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
ParameterSet.ParameterList
public ParameterSet.ParameterList()
- Creates a new empty
ParameterSet.ParameterList.
ParameterSet.ParameterList
public ParameterSet.ParameterList(Collection<? extends Parameter> c)
- Creates a new
ParameterSet.ParameterList from an existing
Collection of Parameters. This may be another
ParameterSet.ParameterList.
- Parameters:
c - the Collection of Parameters
ParameterSet.ParameterList
public ParameterSet.ParameterList(int initialCapacity)
- Creates a new empty
ParameterSet.ParameterList with a defined initial
capacity.
- Parameters:
initialCapacity - the initial capacity of the new ParameterSet.ParameterList
add
public void add(int index,
Parameter element)
- Specified by:
add in interface List<Parameter>- Overrides:
add in class ArrayList<Parameter>
add
public boolean add(Parameter o)
- Specified by:
add in interface Collection<Parameter>- Specified by:
add in interface List<Parameter>- Overrides:
add in class ArrayList<Parameter>
addAll
public boolean addAll(Collection<? extends Parameter> c)
- Specified by:
addAll in interface Collection<Parameter>- Specified by:
addAll in interface List<Parameter>- Overrides:
addAll in class ArrayList<Parameter>
addAll
public boolean addAll(int index,
Collection<? extends Parameter> c)
- Specified by:
addAll in interface List<Parameter>- Overrides:
addAll in class ArrayList<Parameter>