Modifier and Type | Class and Description |
---|---|
class |
OtpErlangAtom
Provides a Java representation of Erlang atoms.
|
class |
OtpErlangBinary
Provides a Java representation of Erlang binaries.
|
class |
OtpErlangBitstr
Provides a Java representation of Erlang bitstrs.
|
class |
OtpErlangBoolean
Provides a Java representation of Erlang booleans, which are special cases of
atoms with values 'true' and 'false'.
|
class |
OtpErlangByte
Provides a Java representation of Erlang integral types.
|
class |
OtpErlangChar
Provides a Java representation of Erlang integral types.
|
class |
OtpErlangDouble
Provides a Java representation of Erlang floats and doubles.
|
class |
OtpErlangExternalFun |
class |
OtpErlangFloat
Provides a Java representation of Erlang floats and doubles.
|
class |
OtpErlangFun |
class |
OtpErlangInt
Provides a Java representation of Erlang integral types.
|
class |
OtpErlangList
Provides a Java representation of Erlang lists.
|
static class |
OtpErlangList.SubList |
class |
OtpErlangLong
Provides a Java representation of Erlang integral types.
|
class |
OtpErlangMap
Provides a Java representation of Erlang maps.
|
class |
OtpErlangPid
Provides a Java representation of Erlang PIDs.
|
class |
OtpErlangPort
Provides a Java representation of Erlang ports.
|
class |
OtpErlangRef
Provides a Java representation of Erlang refs.
|
class |
OtpErlangShort
Provides a Java representation of Erlang integral types.
|
class |
OtpErlangString
Provides a Java representation of Erlang strings.
|
class |
OtpErlangTuple
Provides a Java representation of Erlang tuples.
|
class |
OtpErlangUInt
Provides a Java representation of Erlang integral types.
|
class |
OtpErlangUShort
Provides a Java representation of Erlang integral types.
|
Modifier and Type | Method and Description |
---|---|
<T> OtpErlangObject |
OtpErlangList.bind(T binds) |
<T> OtpErlangObject |
OtpErlangMap.bind(T binds) |
<T> OtpErlangObject |
OtpErlangObject.bind(T binds)
Make new Erlang term replacing variables with the respective values from
bindings argument(s).
|
<T> OtpErlangObject |
OtpErlangTuple.bind(T binds) |
static OtpErlangObject |
OtpErlangObject.decode(OtpInputStream buf)
Read binary data in the Erlang external format, and produce a
corresponding Erlang data type object.
|
OtpErlangObject |
OtpErlangList.elementAt(int i)
Get the specified element from the list.
|
OtpErlangObject |
OtpErlangList.SubList.elementAt(int i) |
OtpErlangObject |
OtpErlangTuple.elementAt(int i)
Get the specified element from the tuple.
|
OtpErlangObject[] |
OtpErlangList.elements()
Get all the elements from the list as an array.
|
OtpErlangObject[] |
OtpErlangList.SubList.elements() |
OtpErlangObject[] |
OtpErlangTuple.elements()
Get all the elements from the tuple as an array.
|
OtpErlangObject |
OtpErlangMap.get(OtpErlangObject key)
Get the specified value from the map.
|
OtpErlangObject |
OtpErlangList.getHead() |
OtpErlangObject |
OtpErlangList.SubList.getHead() |
OtpErlangObject |
OtpErlangList.getLastTail() |
OtpErlangObject |
OtpErlangList.SubList.getLastTail() |
OtpErlangObject |
OtpMsg.getMsg()
Deserialize and return a new copy of the message contained in this
OtpMsg.
|
OtpErlangObject |
OtpErlangList.getNthTail(int n) |
OtpErlangObject |
OtpErlangList.SubList.getNthTail(int n) |
OtpErlangObject |
OtpErlangList.getTail() |
OtpErlangObject[] |
OtpErlangMap.keys()
Get all the keys from the map as an array.
|
OtpErlangObject |
OtpErlangMap.put(OtpErlangObject key,
OtpErlangObject value)
Put value corresponding to key into the map.
|
OtpErlangObject |
OtpInputStream.read_any()
Read an arbitrary Erlang term from the stream.
|
OtpErlangObject |
OtpInputStream.read_compressed()
Read a compressed term from the stream
|
OtpErlangObject |
OtpErlangExit.reason()
Get the reason associated with this exit signal.
|
OtpErlangObject |
OtpConnection.receive()
Receive a message from a remote process.
|
OtpErlangObject |
OtpMbox.receive()
Block until a message arrives for this mailbox.
|
OtpErlangObject |
OtpConnection.receive(long timeout)
Receive a message from a remote process.
|
OtpErlangObject |
OtpMbox.receive(long timeout)
Wait for a message to arrive for this mailbox.
|
OtpErlangObject |
OtpConnection.receiveRPC()
Receive an RPC reply from the remote Erlang node.
|
OtpErlangObject |
OtpErlangMap.remove(OtpErlangObject key)
removes mapping for the key if present.
|
OtpErlangObject[] |
OtpErlangMap.values()
Get all the values from the map as an array.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.util.Map.Entry<OtpErlangObject,OtpErlangObject>> |
OtpErlangMap.entrySet()
make Set view of the map key-value pairs
|
java.util.Set<java.util.Map.Entry<OtpErlangObject,OtpErlangObject>> |
OtpErlangMap.entrySet()
make Set view of the map key-value pairs
|
java.util.Iterator<OtpErlangObject> |
OtpErlangList.iterator() |
java.util.Iterator<OtpErlangObject> |
OtpErlangList.SubList.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
OtpNode.closeMbox(OtpMbox mbox,
OtpErlangObject reason)
Close the specified mailbox with the given reason.
|
void |
OtpMbox.exit(OtpErlangObject reason)
Close this mailbox with the given reason.
|
void |
OtpConnection.exit(OtpErlangPid dest,
OtpErlangObject reason)
Send an exit signal to a remote process.
|
void |
OtpMbox.exit(OtpErlangPid to,
OtpErlangObject reason)
Send an exit signal to a remote
pid . |
OtpErlangObject |
OtpErlangMap.get(OtpErlangObject key)
Get the specified value from the map.
|
<T> boolean |
OtpErlangList.match(OtpErlangObject term,
T bindings) |
<T> boolean |
OtpErlangMap.match(OtpErlangObject term,
T binds) |
<T> boolean |
OtpErlangObject.match(OtpErlangObject term,
T binds)
Perform match operation against given term.
|
<T> boolean |
OtpErlangTuple.match(OtpErlangObject term,
T bindings) |
OtpErlangObject |
OtpErlangMap.put(OtpErlangObject key,
OtpErlangObject value)
Put value corresponding to key into the map.
|
OtpErlangObject |
OtpErlangMap.remove(OtpErlangObject key)
removes mapping for the key if present.
|
void |
OtpConnection.send(OtpErlangPid dest,
OtpErlangObject msg)
Send a message to a process on a remote node.
|
void |
OtpMbox.send(OtpErlangPid to,
OtpErlangObject msg)
|
void |
OtpConnection.send(java.lang.String dest,
OtpErlangObject msg)
Send a message to a named process on a remote node.
|
void |
OtpMbox.send(java.lang.String aname,
OtpErlangObject msg)
Send a message to a named mailbox created from the same node as this
mailbox.
|
void |
OtpMbox.send(java.lang.String aname,
java.lang.String node,
OtpErlangObject msg)
Send a message to a named mailbox created from another node.
|
void |
OtpConnection.sendRPC(java.lang.String mod,
java.lang.String fun,
OtpErlangObject[] args)
Send an RPC request to the remote Erlang node.
|
void |
OtpOutputStream.write_any(OtpErlangObject o)
Write an arbitrary Erlang term to the stream.
|
void |
OtpOutputStream.write_compressed(OtpErlangObject o)
Write an arbitrary Erlang term to the stream in compressed format.
|
void |
OtpOutputStream.write_compressed(OtpErlangObject o,
int level)
Write an arbitrary Erlang term to the stream in compressed format.
|
void |
OtpOutputStream.write_fun(OtpErlangPid pid,
java.lang.String module,
long old_index,
int arity,
byte[] md5,
long index,
long uniq,
OtpErlangObject[] freeVars) |
Constructor and Description |
---|
OtpErlangExit(OtpErlangObject reason)
Create an OtpErlangExit exception with the given reason.
|
OtpErlangExit(OtpErlangObject reason,
OtpErlangPid pid)
Create an OtpErlangExit exception with the given reason and sender pid.
|
OtpErlangFun(OtpErlangPid pid,
java.lang.String module,
int arity,
byte[] md5,
int index,
long old_index,
long uniq,
OtpErlangObject[] freeVars) |
OtpErlangFun(OtpErlangPid pid,
java.lang.String module,
long index,
long uniq,
OtpErlangObject[] freeVars) |
OtpErlangList(OtpErlangObject elem)
Create a list containing one element.
|
OtpErlangList(OtpErlangObject[] elems)
Create a list from an array of arbitrary Erlang terms.
|
OtpErlangList(OtpErlangObject[] elems,
int start,
int count)
Create a list from an array of arbitrary Erlang terms.
|
OtpErlangList(OtpErlangObject[] elems,
OtpErlangObject lastTail)
Create a list from an array of arbitrary Erlang terms.
|
OtpErlangList(OtpErlangObject[] elems,
OtpErlangObject lastTail)
Create a list from an array of arbitrary Erlang terms.
|
OtpErlangMap(OtpErlangObject[] keys,
int kstart,
int kcount,
OtpErlangObject[] values,
int vstart,
int vcount)
Create a map from an array of terms.
|
OtpErlangMap(OtpErlangObject[] keys,
int kstart,
int kcount,
OtpErlangObject[] values,
int vstart,
int vcount)
Create a map from an array of terms.
|
OtpErlangMap(OtpErlangObject[] keys,
OtpErlangObject[] values)
Create a map from an array of keys and an array of values.
|
OtpErlangMap(OtpErlangObject[] keys,
OtpErlangObject[] values)
Create a map from an array of keys and an array of values.
|
OtpErlangTuple(OtpErlangObject elem)
Create a unary tuple containing the given element.
|
OtpErlangTuple(OtpErlangObject[] elems)
Create a tuple from an array of terms.
|
OtpErlangTuple(OtpErlangObject[] elems,
int start,
int count)
Create a tuple from an array of terms.
|
OtpOutputStream(OtpErlangObject o)
Create a stream containing the encoded version of the given Erlang term.
|