Class: MapRecord

wallet/records~MapRecord()

Map Record

Constructor

new MapRecord()

Create map record.

Source:

Members

wids :Set.<Number>

Type:
  • Set.<Number>
Source:

Methods

add(wid) → {Boolean}

Parameters:
Name Type Description
wid Number
Source:
Returns:
  • Whether the map did not contain the wid.
Type
Boolean

getSize() → {Number}

Source:
Returns:
Type
Number

has(wid) → {Boolean}

Parameters:
Name Type Description
wid Number
Source:
Returns:
  • Whether the map contains the wid.
Type
Boolean

read(br) → {this}

Parameters:
Name Type Description
br bio.BufferReader
Source:
Returns:
Type
this

remove(wid) → {Boolean}

Parameters:
Name Type Description
wid Number
Source:
Returns:
  • Whether the map contained the wid.
Type
Boolean

write(bw) → {BufioWriter}

Parameters:
Name Type Description
bw BufioWriter
Source:
Returns:
Type
BufioWriter