protected class ParameterSet.ParameterList extends AnnotatedEntityList<Parameter>
AnnotatedEntityList
that automatically sets
the Parameter.parent
field to the enclosing ParameterSet
.Constructor and Description |
---|
ParameterSet.ParameterList() |
ParameterSet.ParameterList(int initialCapacity) |
Modifier and Type | Method and Description |
---|---|
void |
add(int idx,
Parameter p)
|
void |
add(Parameter... p)
Adds all
AnnotatedEntity s in entities
to the list. |
void |
set(int idx,
Parameter p)
|
public ParameterSet.ParameterList()
public ParameterSet.ParameterList(int initialCapacity)
initialCapacity
- the initial capacity of the ParameterSet.ParameterList
public void set(int idx, Parameter p)
AnnotatedEntityList
set
in class AnnotatedEntityList<Parameter>
idx
- the indexp
- the new AnnotatedEntity
at index idx
public void add(int idx, Parameter p)
AnnotatedEntityList
AnnotatedEntity
entity
at index idx
to the list. If entities
contains AnnotatedEntity
s with duplicate names,
or an AnnotatedEntity
with identical name already exists in the list,
an IllegalArgumentException
is thrown.add
in class AnnotatedEntityList<Parameter>
idx
- the indexp
- the added AnnotatedEntity
List.add(int, Object)
public void add(Parameter... p)
AnnotatedEntityList
AnnotatedEntity
s in entities
to the list. If entities
contains AnnotatedEntity
s with duplicate names,
or an AnnotatedEntity
with identical name already exists in the list,
an IllegalArgumentException
is thrown.add
in class AnnotatedEntityList<Parameter>
p
- the added AnnotatedEntity