public class OtpErlangExternalFun extends OtpErlangObject
OtpErlangObject.Hash| Modifier and Type | Field and Description |
|---|---|
int |
arity |
java.lang.String |
function |
java.lang.String |
module |
hashCodeValue| Constructor and Description |
|---|
OtpErlangExternalFun(OtpInputStream buf) |
OtpErlangExternalFun(java.lang.String module,
java.lang.String function,
int arity) |
| Modifier and Type | Method and 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() |
public final java.lang.String module
public final java.lang.String function
public final int arity
public OtpErlangExternalFun(java.lang.String module,
java.lang.String function,
int arity)
public OtpErlangExternalFun(OtpInputStream buf) throws OtpErlangDecodeException
OtpErlangDecodeExceptionpublic void encode(OtpOutputStream buf)
OtpErlangObjectencode in class OtpErlangObjectbuf - an output stream to which the encoded term should be written.public boolean equals(java.lang.Object o)
OtpErlangObjectequals in class OtpErlangObjecto - the object to compare to.protected int doHashCode()
doHashCode in class OtpErlangObjectpublic java.lang.String toString()
toString in class OtpErlangObject