public class OtpErlangFun extends OtpErlangObject
OtpErlangObject.HashhashCodeValue| Constructor and Description |
|---|
OtpErlangFun(OtpErlangPid pid,
String module,
int arity,
byte[] md5,
int index,
long old_index,
long uniq,
OtpErlangObject[] freeVars) |
OtpErlangFun(OtpErlangPid pid,
String module,
long index,
long uniq,
OtpErlangObject[] freeVars) |
OtpErlangFun(OtpInputStream buf) |
| 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(Object o)
Determine if two Erlang objects are equal.
|
String |
toString() |
public OtpErlangFun(OtpInputStream buf) throws OtpErlangDecodeException
OtpErlangDecodeExceptionpublic OtpErlangFun(OtpErlangPid pid, String module, long index, long uniq, OtpErlangObject[] freeVars)
public OtpErlangFun(OtpErlangPid pid, String module, int arity, byte[] md5, int index, long old_index, long uniq, OtpErlangObject[] freeVars)
public void encode(OtpOutputStream buf)
OtpErlangObjectencode in class OtpErlangObjectbuf - an output stream to which the encoded term should be written.public boolean equals(Object o)
OtpErlangObjectequals in class OtpErlangObjecto - the object to compare to.protected int doHashCode()
doHashCode in class OtpErlangObjectpublic String toString()
toString in class OtpErlangObjectCopyright © 2020. All rights reserved.