Map2
Complete API reference for Map2, including constructors, attributes, virtual attributes, and methods.
Package: JAVARuntime
Category: Lists
Component: no
public class Map2
Constructors
| Signature | Description |
|---|---|
Map2(Class, Class) | Creates a new instance of Map2. |
Methods
| Signature | Returns | Description |
|---|---|---|
put(Object, Object) | void | Sets or updates the the value. |
get(Object) | Object | Returns the current value. |
replace(Object, Object) | void | Performs the replace operation using the provided parameters (key, newValue). |
remove(Object) | void | Removes an item from the collection. |
getKeyClass() | Class | Returns the current key class. |
getValueClass() | Class | Returns the current value class. |
getKeyList() | List | Returns the current key list. |
getDirectKeyList() | List | Returns the current direct key list. |
getValueList() | List | Returns the current value list. |
getDirectValueList() | List | Returns the current direct value list. |
toJson() | String | Executes toJson and returns after the underlying engine call finishes. |
clear() | void | Clears or resets the object's state. |
getSize() | int | Returns the current size. |
Static Methods
| Signature | Returns | Description |
|---|---|---|
inspectorController() | ClassInspectorEntry | Executes inspectorController and returns after the underlying engine call finishes. |
fromJson(String) | Map2 | Performs the fromJson operation using the provided parameters (json). |