jiface.erlang.map

->str

(->str this)

Convert to a string.

behaviour

bind

(bind this binds)

Make new Erlang term replacing variables with the respective values from bindings argument(s).

clone

(clone this)

Clone the Erlang object.

decode

(decode this buff)

Read binary data in the Erlang external format, and produce a corresponding Erlang data type object.

encode

(encode this buff)

Convert the object according to the rules of the Erlang external format.

equal?

(equal? this other-erl-obj)

Determine if two Erlang objects are equal.

ErlangMap

protocol

members

->set

(->set this)

Make a Set view of the map key-value pairs.

get

(get this key)

Get the specified value from the map.

get-arity

(get-arity this)

Get the arity of the map.

get-keys

(get-keys this)

Get all the keys from the map as an array.

get-values

(get-values this)

Get all the values from the map as an array.

put

(put this key value)

Put value corresponding to key into the map.

remove

(remove this key)

Removes mapping for the key if present.

hash

(hash this)

Get the object hash code.

match

(match this term binds)

Perform match operation against given term.