Represents RuntimeSpecMap.
new RuntimeSpecMap(clone?): RuntimeSpecMapAttributes
clone:
<RuntimeSpecMap><
<T>
,
<R>
> copy form thisReturns:
<RuntimeSpecMap><
<T>
,
<R>
>Creates an instance of RuntimeSpecMap.
Attributes
size:
<number>Represents RuntimeSpecMap.
delete(runtime): voidAttributes
runtime:
<RuntimeSpec>the runtimes
Returns:
<void>Processes the provided runtime.
M
get
get(runtime): R | undefinedAttributes
runtime:
<RuntimeSpec>the runtimes
Returns:
<R>
|
<undefined>
valueReturns value.
M
has
has(runtime): booleanAttributes
runtime:
<RuntimeSpec>the runtimes
Returns:
<boolean>true, when the runtime is stored
Returns true, when the runtime is stored.
M
keys
keys(): RuntimeSpecReturns:
<RuntimeSpec>[]
Represents RuntimeSpecMap.
provide(runtime, computer): RAttributes
runtime:
<RuntimeSpec>the runtimes
computer:
<Function>function to compute the value
Returns:
{R} the new value
Returns the new value.
M
set
set(runtime, value): voidAttributes
Updates default using the provided runtime.
update(runtime, fn): voidAttributes
Processes the provided runtime.
values(): IterableIteratorReturns:
<IterableIterator>
<
<R>
> valuesReturns values.