Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/util
ReducedMap
Interface ReducedMap<K, V, U>
Type parameters
K
V
U
Hierarchy
OrderedMap
<
K
,
V
>
ReducedMap
Implemented by
BTree
Index
Properties
size
Methods
clear
delete
entries
first
Entry
first
Key
first
Value
for
Each
get
get
Entry
has
is
Empty
keys
last
Entry
last
Key
last
Value
next
Entry
next
Key
next
Value
previous
Entry
previous
Key
previous
Value
reduced
set
values
Properties
Readonly
size
size
:
number
Methods
clear
clear
(
)
:
void
Returns
void
delete
delete
(
key
:
K
)
:
boolean
Parameters
key:
K
Returns
boolean
entries
entries
(
)
:
Iterator
<
[
K
,
V
]
>
Returns
Iterator
<
[
K
,
V
]
>
first
Entry
first
Entry
(
)
:
undefined
|
[
K
,
V
]
Returns
undefined
|
[
K
,
V
]
first
Key
first
Key
(
)
:
undefined
|
K
Returns
undefined
|
K
first
Value
first
Value
(
)
:
undefined
|
V
Returns
undefined
|
V
for
Each
for
Each<T>
(
callback
:
(
key
:
K
, value
:
V
)
=>
void
|
T
)
:
undefined
|
T
for
Each<T, S>
(
callback
:
(
key
:
K
, value
:
V
)
=>
void
|
T
, thisArg
:
S
)
:
undefined
|
T
Type parameters
T
Parameters
callback:
(
key
:
K
, value
:
V
)
=>
void
|
T
(
key
:
K
, value
:
V
)
:
void
|
T
Parameters
key:
K
value:
V
Returns
void
|
T
Returns
undefined
|
T
Type parameters
T
S
Parameters
callback:
(
key
:
K
, value
:
V
)
=>
void
|
T
(
key
:
K
, value
:
V
)
:
void
|
T
Parameters
key:
K
value:
V
Returns
void
|
T
thisArg:
S
Returns
undefined
|
T
get
get
(
key
:
K
)
:
undefined
|
V
Parameters
key:
K
Returns
undefined
|
V
get
Entry
get
Entry
(
index
:
number
)
:
undefined
|
[
K
,
V
]
Parameters
index:
number
Returns
undefined
|
[
K
,
V
]
has
has
(
key
:
K
)
:
boolean
Parameters
key:
K
Returns
boolean
is
Empty
is
Empty
(
)
:
boolean
Returns
boolean
keys
keys
(
)
:
Iterator
<
K
>
Returns
Iterator
<
K
>
last
Entry
last
Entry
(
)
:
undefined
|
[
K
,
V
]
Returns
undefined
|
[
K
,
V
]
last
Key
last
Key
(
)
:
undefined
|
K
Returns
undefined
|
K
last
Value
last
Value
(
)
:
undefined
|
V
Returns
undefined
|
V
next
Entry
next
Entry
(
key
:
K
)
:
undefined
|
[
K
,
V
]
Parameters
key:
K
Returns
undefined
|
[
K
,
V
]
next
Key
next
Key
(
key
:
K
)
:
undefined
|
K
Parameters
key:
K
Returns
undefined
|
K
next
Value
next
Value
(
key
:
K
)
:
undefined
|
V
Parameters
key:
K
Returns
undefined
|
V
previous
Entry
previous
Entry
(
key
:
K
)
:
undefined
|
[
K
,
V
]
Parameters
key:
K
Returns
undefined
|
[
K
,
V
]
previous
Key
previous
Key
(
key
:
K
)
:
undefined
|
K
Parameters
key:
K
Returns
undefined
|
K
previous
Value
previous
Value
(
key
:
K
)
:
undefined
|
V
Parameters
key:
K
Returns
undefined
|
V
reduced
reduced
(
identity
:
U
, accumulator
:
(
result
:
U
, element
:
V
)
=>
U
, combiner
:
(
result
:
U
, result2
:
U
)
=>
U
)
:
U
Parameters
identity:
U
accumulator:
(
result
:
U
, element
:
V
)
=>
U
(
result
:
U
, element
:
V
)
:
U
Parameters
result:
U
element:
V
Returns
U
combiner:
(
result
:
U
, result2
:
U
)
=>
U
(
result
:
U
, result2
:
U
)
:
U
Parameters
result:
U
result2:
U
Returns
U
Returns
U
set
set
(
key
:
K
, newValue
:
V
)
:
ReducedMap
<
K
,
V
,
U
>
Parameters
key:
K
newValue:
V
Returns
ReducedMap
<
K
,
V
,
U
>
values
values
(
)
:
Iterator
<
V
>
Returns
Iterator
<
V
>
Modules
@swim/system
@swim/core
@swim/util
@swim/codec
@swim/mapping
@swim/collections
@swim/constraint
@swim/structure
@swim/streamlet
@swim/dataflow
@swim/recon
@swim/uri
@swim/math
@swim/geo
@swim/time
@swim/mesh
@swim/toolkit
Reduced
Map
size
clear
delete
entries
first
Entry
first
Key
first
Value
for
Each
get
get
Entry
has
is
Empty
keys
last
Entry
last
Key
last
Value
next
Entry
next
Key
next
Value
previous
Entry
previous
Key
previous
Value
reduced
set
values
Generated using
TypeDoc