W3cubDocs

/Pony

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

[Source]

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

Constructors

create

[Source]

new val create(
  k: K,
  v: V)
: _MapEntry[K, V, H] val^

Parameters

  • k: K
  • v: V

Returns

Public fields

let key: K

[Source]

let value: V

[Source]

Public Functions

apply

[Source]

fun box apply(
  k: K)
: (V | None val)

Parameters

  • k: K

Returns

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