jiface.erlang.tuple
->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.
ErlangTuple
protocol
members
get-arity
(get-arity this)
Get the arity of the tuple.
get-element
(get-element this index)
Get the specified element from the tuple.
get-elements
(get-elements this)
Get all the elements from the tuple as an array.
get-size
(get-size this)
Alias for get-arity
.
size
(size this)
Alias for get-arity
, taken from the Erlang world for getting the size of a tuple.
hash
(hash this)
Get the object hash code.
match
(match this term binds)
Perform match operation against given term.