public class JavaScriptCollection extends Object
This class represents collection of JavaScript.
Modifier and Type | Method and Description |
---|---|
String |
get_Item(String key)
Gets JavaScript from collection by its key.
|
List<String> |
getKeys()
List of keys in JavaScript collection.
|
boolean |
remove(String key)
Removes JavaScript by its name.
|
void |
set_Item(String key,
String value)
Sets JavaScript from collection by its key.
|
public List<String> getKeys()
List of keys in JavaScript collection.
List<String> collection
public String get_Item(String key)
Gets JavaScript from collection by its key.
key
- String object Key value.public void set_Item(String key, String value)
Sets JavaScript from collection by its key.
key
- String object Javascript collection.value
- String object Key value.public boolean remove(String key)
Removes JavaScript by its name.
key
- String object Key value.