import KeyValuePairCollection from 'flexicious-react-datagrid/js/flexgrid/grids/cache/KeyValuePairCollection.js'
KeyValuePairCollection
Extends:
An equivalent of a Java HashMap, that allws you to have object keys and values.
Constructor Summary
Public Constructor | ||
public |
|
Method Summary
Public Methods | ||
public |
Add a key value pair |
|
public |
clear() Remove all key value pairs |
|
public |
|
|
public |
Get value for the key from key Value pair |
|
public |
Check whether key exists or not |
|
public |
kill() |
|
public |
removeItem(key: Object) Remove item with associate key |
Inherited Summary
From class TypedObject | ||
public |
typeCache: {} |
|
public |
|
|
public |
Returns a list of strings that represent the object hierarchy for this object. |
|
public |
implementsOrExtends(name: *): Boolean Returns true if the class name to check is in the list of class names defined for this class. |
Public Constructors
Public Methods
public getClassNames(): string source
Returns a list of strings that represent the object hierarchy for this object.
Override:
TypedObject#getClassNamespublic getValue(key: Object): * source
Get value for the key from key Value pair
Params:
Name | Type | Attribute | Description |
key | Object |
Return:
* |
public hasKey(key: Object): * source
Check whether key exists or not
Params:
Name | Type | Attribute | Description |
key | Object |
Return:
* |