Package com.creditcall.chipdnamobile
Class Parameters
java.lang.Object
com.creditcall.chipdnamobile.Parameters
Created by shingai.manyiwa on 12/06/2017.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the value with the specified key.voidAdds the value with the specified key.booleancontainsKey(String key) Determines whether theParameterscontains the specified key.intcount()The number of items held..booleanisEmpty()Determines whether theParameterscontains any items.voidRemoves the value with the specified key.toList()Puts all objects into a list and is returned.
-
Constructor Details
-
Parameters
public Parameters()
-
-
Method Details
-
add
Adds the value with the specified key.- Parameters:
key- Key.value- Value.
-
add
Adds the value with the specified key.- Parameters:
key- Key.value- Value.
-
remove
Removes the value with the specified key.- Parameters:
key- Key.
-
count
public int count()The number of items held.- Returns:
- Size of the data structure.
-
isEmpty
public boolean isEmpty()Determines whether theParameterscontains any items.- Returns:
- true if empty.
-
containsKey
Determines whether theParameterscontains the specified key.- Parameters:
key- Key value- Returns:
- true if the key is held within the data structure.
-
getValue
. Gets the value associated with the specified key.ParameterKeysfor possible key values.- Parameters:
key- value- Returns:
- String of the value if contained within
Parameters, else null.
-
toList
Puts all objects into a list and is returned.- Returns:
- List
-