Package com.ericsson.otp.erlang
Class OtpErlangExternalFun
java.lang.Object
com.ericsson.otp.erlang.OtpErlangObject
com.ericsson.otp.erlang.OtpErlangExternalFun
- All Implemented Interfaces:
Serializable,Cloneable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ericsson.otp.erlang.OtpErlangObject
OtpErlangObject.Hash -
Field Summary
FieldsFields inherited from class com.ericsson.otp.erlang.OtpErlangObject
hashCodeValue -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intvoidencode(OtpOutputStream buf) Convert the object according to the rules of the Erlang external format.booleanDetermine if two Erlang objects are equal.toString()
-
Field Details
-
module
-
function
-
arity
public final int arity
-
-
Constructor Details
-
OtpErlangExternalFun
-
OtpErlangExternalFun
- Throws:
OtpErlangDecodeException
-
-
Method Details
-
encode
Description copied from class:OtpErlangObjectConvert the object according to the rules of the Erlang external format. This is mainly used for sending Erlang terms in messages, however it can also be used for storing terms to disk.- Specified by:
encodein classOtpErlangObject- Parameters:
buf- an output stream to which the encoded term should be written.
-
equals
Description copied from class:OtpErlangObjectDetermine if two Erlang objects are equal. In general, Erlang objects are equal if the components they consist of are equal.- Specified by:
equalsin classOtpErlangObject- Parameters:
o- the object to compare to.- Returns:
- true if the objects are identical.
-
doHashCode
protected int doHashCode()- Overrides:
doHashCodein classOtpErlangObject
-
toString
- Specified by:
toStringin classOtpErlangObject- Returns:
- the printable representation of the object. This is usually similar to the representation used by Erlang for the same type of object.
-