|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcitysdk.tourism.client.requests.ParameterList
public class ParameterList
A list of Parameter used for the TourismClient stub when performing HTTP requests.
| Constructor Summary | |
|---|---|
ParameterList()
Initializes an empty list of Parameter. |
|
| Method Summary | |
|---|---|
void |
add(Parameter parameter)
Adds a new parameter, if it does not exist already. |
Parameter |
get(int i)
Gets the Parameter in the given index. |
Parameter |
getWithTerm(ParameterTerms term)
Gets the Parameter with the given term. |
void |
removeAll()
Removes all Parameter. |
void |
replace(Parameter parameter)
Replaces or adds a given Parameter. |
int |
size()
Gets the number of parameters in the parameter list. |
Parameter[] |
toArray()
Get the array representation of the parameters. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParameterList()
Parameter.
| Method Detail |
|---|
public void add(Parameter parameter)
parameter - Parameter to be added.public Parameter get(int i)
Parameter in the given index.
i - index of the Parameter.
Parameter in index i or null.public Parameter getWithTerm(ParameterTerms term)
Parameter with the given term.
term - the term of the Parameter.
Parameter with the given term or null.public void replace(Parameter parameter)
Parameter.
parameter - the Parameter to be replaced/added.public void removeAll()
Parameter.
public int size()
public Parameter[] toArray()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||