Class PropDictionary2<TKey, TValue>
Constructors
constructor
-
Properties
Private keys
keys: string[]
Private objects
Accessors
Items
-
KeyNames
-
Returns string[]
Keys
-
Returns TKey[]
Values
-
Returns TValue[]
length
-
Returns number
Methods
add
- add(key: TKey, value: TValue): void
-
Parameters
Returns void
clear
-
Returns void
containsKey
- containsKey(key: TKey): boolean
-
Parameters
Returns boolean
get
-
Parameters
Returns TValue
remove
- remove(key: TKey): boolean
-
Parameters
Returns boolean
set
- set(key: TKey, value: TValue): void
-
Parameters
Returns void
setEntry
- setEntry(oldKeyString: string, oldKey: TKey, value?: TValue, isNull?: boolean): void
-
Parameters
-
oldKeyString: string
-
oldKey: TKey
-
Optional value: TValue
-
Default value isNull: boolean = false
Returns void
tryGet
- tryGet(key: TKey, outValue: IOutParam<TValue>): boolean
-
Parameters
Returns boolean