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
AnnotatedEntitys 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.ParameterListpublic void set(int idx,
Parameter p)
AnnotatedEntityListset in class AnnotatedEntityList<Parameter>idx - the indexp - the new AnnotatedEntity at index idxpublic void add(int idx,
Parameter p)
AnnotatedEntityListAnnotatedEntity entity
at index idx to the list. If entities contains AnnotatedEntitys 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 AnnotatedEntityList.add(int, Object)public void add(Parameter... p)
AnnotatedEntityListAnnotatedEntitys in entities
to the list. If entities contains AnnotatedEntitys 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