java.io.Serializable
, java.lang.Cloneable
public class OtpErlangExternalFun extends OtpErlangObject
OtpErlangObject.Hash
hashCodeValue
Constructor | Description |
---|---|
OtpErlangExternalFun(OtpInputStream buf) |
|
OtpErlangExternalFun(java.lang.String module,
java.lang.String function,
int arity) |
Modifier and Type | Method | Description |
---|---|---|
protected int |
doHashCode() |
|
void |
encode(OtpOutputStream buf) |
Convert the object according to the rules of the Erlang external format.
|
boolean |
equals(java.lang.Object o) |
Determine if two Erlang objects are equal.
|
java.lang.String |
toString() |
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, decode, hashCode
public OtpErlangExternalFun(java.lang.String module, java.lang.String function, int arity)
public OtpErlangExternalFun(OtpInputStream buf) throws OtpErlangDecodeException
OtpErlangDecodeException
public void encode(OtpOutputStream buf)
OtpErlangObject
encode
in class OtpErlangObject
buf
- an output stream to which the encoded term should be
written.public boolean equals(java.lang.Object o)
OtpErlangObject
equals
in class OtpErlangObject
o
- the object to compare to.protected int doHashCode()
doHashCode
in class OtpErlangObject
public java.lang.String toString()
toString
in class OtpErlangObject