JavaScriptCollection
Inheritance: java.lang.Object
public class JavaScriptCollection
This class represents collection of JavaScript.
Methods
Method | Description |
---|---|
getKeys() | List of keys in JavaScript collection. |
get_Item(String key) | Gets JavaScript from collection by its key. |
set_Item(String key, String value) | Sets JavaScript from collection by its key. |
remove(String key) | Removes JavaScript by its name. |
getKeys()
public List<String> getKeys()
List of keys in JavaScript collection.
Returns: java.util.List<java.lang.String> - List collection
get_Item(String key)
public String get_Item(String key)
Gets JavaScript from collection by its key.
Parameters:
Parameter | Type | Description |
---|---|---|
key | java.lang.String | String object Key value. |
Returns: java.lang.String - String object Javascript collection.
set_Item(String key, String value)
public void set_Item(String key, String value)
Sets JavaScript from collection by its key.
Parameters:
Parameter | Type | Description |
---|---|---|
key | java.lang.String | String object Javascript collection. |
value | java.lang.String | String object Key value. |
remove(String key)
public boolean remove(String key)
Removes JavaScript by its name.
Parameters:
Parameter | Type | Description |
---|---|---|
key | java.lang.String | String object Key value. |
Returns: boolean - boolean value True - if javascript removed; otherwise, false.