projects/wms-framework/src/lib/baseframework/ISimpleDictionary.ts
Interface for dictionary types.
Properties |
Methods |
addEntry | |||||||||
addEntry(key: K, value: V)
|
|||||||||
Add a entry to the dictionary
Parameters :
Returns :
any
|
containsKey | ||||||
containsKey(key: K)
|
||||||
Parameters :
Returns :
boolean
|
getItem | ||||||
getItem(key: K)
|
||||||
Parameters :
Returns :
V
|
hasKey | ||||||
hasKey(key: K)
|
||||||
Check if a key is contained in the dictionary
Parameters :
Returns :
any
|
removeEntry | ||||||
removeEntry(key: K)
|
||||||
Removes a entry to the dictionary
Parameters :
Returns :
any
|
setItem | |||||||||
setItem(key: K, value: V)
|
|||||||||
Parameters :
Returns :
void
|
tryGetValue | |||||||||
tryGetValue(key: K, value: (v: V) => void)
|
|||||||||
Tries to get a value by key in the dictionary
Parameters :
Returns :
any
|
keys |
keys:
|
Type : ICollection<K>
|
The keys collection |
values |
values:
|
Type : ICollection<V>
|
The values collection |