MapPairs[K: Any #share, V: Any #share, H: HashFunction[K] val]

class ref MapPairs[K: Any #share, V: Any #share, H: HashFunction[K] val]

Constructors

create

new ref create(
  m: HashMap[K, V, H] val)
: MapPairs[K, V, H] ref^

Parameters

Returns


Public Functions

has_next

fun box has_next()
: Bool val

Returns


next

fun ref next()
: (K , V) ?

Returns

  • (K , V) ?

Private Functions

_push

fun ref _push(
  n: _MapNode[K, V, H] val)
: None val

Parameters

Returns


_backup

fun ref _backup()
: None val ?

Returns


_inc_i

fun ref _inc_i()
: None val ?

Returns


_cur

fun box _cur()
: (_MapNode[K, V, H] val , USize val) ?

Returns