Search
Preparing search index...
The search index is not available
Kryo
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"types/map"
MapType
Class MapType<K, V>
Type parameters
K
V
Hierarchy
MapType
Implements
IoType
<
Map
<
K
,
V
>
>
VersionedType
<
Map
<
K
,
V
>
,
Diff
>
Index
Constructors
constructor
Properties
_options
assume
String
Key
key
Type
max
Size
name
value
Type
Methods
_apply
Options
clone
diff
equals
patch
read
reverse
Diff
squash
test
test
Error
write
Constructors
constructor
new
Map
Type
(
options
:
Lazy
<
MapTypeOptions
<
K
,
V
>
>
)
:
MapType
Parameters
options:
Lazy
<
MapTypeOptions
<
K
,
V
>
>
Returns
MapType
Properties
Private
_options
_options
:
Lazy
<
MapTypeOptions
<
K
,
V
>
>
assume
String
Key
assume
String
Key
:
boolean
key
Type
key
Type
:
VersionedType
<
K
,
any
>
max
Size
max
Size
:
number
name
name
:
Name
= name
value
Type
value
Type
:
VersionedType
<
V
,
any
>
Methods
Private
_apply
Options
_apply
Options
(
)
:
void
Returns
void
clone
clone
(
val
:
Map
<
K
,
V
>
)
:
Map
<
K
,
V
>
Parameters
val:
Map
<
K
,
V
>
Returns
Map
<
K
,
V
>
diff
diff
(
_oldVal
:
Map
<
K
,
V
>
, _newVal
:
Map
<
K
,
V
>
)
:
Diff
|
undefined
Parameters
_oldVal:
Map
<
K
,
V
>
_newVal:
Map
<
K
,
V
>
Returns
Diff
|
undefined
equals
equals
(
val1
:
Map
<
K
,
V
>
, val2
:
Map
<
K
,
V
>
)
:
boolean
Parameters
val1:
Map
<
K
,
V
>
val2:
Map
<
K
,
V
>
Returns
boolean
patch
patch
(
_oldVal
:
Map
<
K
,
V
>
, _diff
:
Diff
|
undefined
)
:
Map
<
K
,
V
>
Parameters
_oldVal:
Map
<
K
,
V
>
_diff:
Diff
|
undefined
Returns
Map
<
K
,
V
>
read
read<R>
(
reader
:
Reader
<
R
>
, raw
:
R
)
:
Map
<
K
,
V
>
Type parameters
R
Parameters
reader:
Reader
<
R
>
raw:
R
Returns
Map
<
K
,
V
>
reverse
Diff
reverse
Diff
(
_diff
:
Diff
|
undefined
)
:
Diff
|
undefined
Parameters
_diff:
Diff
|
undefined
Returns
Diff
|
undefined
squash
squash
(
_diff1
:
Diff
|
undefined
, _diff2
:
Diff
|
undefined
)
:
Diff
|
undefined
Parameters
_diff1:
Diff
|
undefined
_diff2:
Diff
|
undefined
Returns
Diff
|
undefined
test
test
(
val
:
Map
<
K
,
V
>
)
:
boolean
Parameters
val:
Map
<
K
,
V
>
Returns
boolean
test
Error
test
Error
(
val
:
Map
<
K
,
V
>
)
:
Error
|
undefined
Parameters
val:
Map
<
K
,
V
>
Returns
Error
|
undefined
write
write<W>
(
writer
:
Writer
<
W
>
, value
:
Map
<
K
,
V
>
)
:
W
Type parameters
W
Parameters
writer:
Writer
<
W
>
value:
Map
<
K
,
V
>
Returns
W
Globals
"types/map"
Map
Type
constructor
_options
assume
String
Key
key
Type
max
Size
name
value
Type
_apply
Options
clone
diff
equals
patch
read
reverse
Diff
squash
test
test
Error
write
Map
Type
Options
Diff
Name
name
Generated using
TypeDoc