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

[Source]

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

Constructors

create

[Source]

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

Parameters

Returns

Public Functions

has_next

[Source]

fun box has_next()
: Bool val

Returns

next

[Source]

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

Returns

  • (K , V) ?

© 2016-2020, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/collections-persistent-MapPairs