public class ParameterList extends Object implements ContentContainer<Parameter>
Constructor and Description |
---|
ParameterList()
Default constructor.
|
ParameterList(List<Parameter> list)
Creates an unmodifiable copy of the specified parameter list.
|
Modifier and Type | Method and Description |
---|---|
ContentContainer<Parameter> |
add(Parameter content) |
ContentContainer<Parameter> |
addAll(Collection<Parameter> content) |
boolean |
equals(Object o) |
List<Parameter> |
getAll() |
<T extends Parameter> |
getParameter(String aName)
Deprecated.
|
ParameterList |
getParameters(String name)
Deprecated.
|
int |
hashCode() |
ContentContainer<Parameter> |
remove(Parameter content) |
ContentContainer<Parameter> |
removeAll(String... name) |
ContentContainer<Parameter> |
replace(Parameter content) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
get, getFirst, getRequired
public ParameterList()
public ContentContainer<Parameter> add(Parameter content)
add
in interface ContentContainer<Parameter>
public ContentContainer<Parameter> addAll(Collection<Parameter> content)
addAll
in interface ContentContainer<Parameter>
public ContentContainer<Parameter> remove(Parameter content)
remove
in interface ContentContainer<Parameter>
public ContentContainer<Parameter> removeAll(String... name)
removeAll
in interface ContentContainer<Parameter>
public ContentContainer<Parameter> replace(Parameter content)
replace
in interface ContentContainer<Parameter>
public List<Parameter> getAll()
getAll
in interface ContentContainer<Parameter>
@Deprecated public final <T extends Parameter> Optional<T> getParameter(String aName)
ContentContainer.getFirst(String)
aName
- name of the parameter@Deprecated public final ParameterList getParameters(String name)
ContentContainer.get(String)
name
- name of parameters to return