Class OtpErlangExternalFun

  • All Implemented Interfaces:, java.lang.Cloneable

    public class OtpErlangExternalFun
    extends OtpErlangObject
    See Also:
    Serialized Form
    • Field Detail

      • module

        public final java.lang.String module
      • function

        public final java.lang.String function
      • arity

        public final int arity
    • Method Detail

      • encode

        public void encode​(OtpOutputStream buf)
        Description copied from class: OtpErlangObject
        Convert 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:
        encode in class OtpErlangObject
        buf - an output stream to which the encoded term should be written.
      • equals

        public boolean equals​(java.lang.Object o)
        Description copied from class: OtpErlangObject
        Determine if two Erlang objects are equal. In general, Erlang objects are equal if the components they consist of are equal.
        Specified by:
        equals in class OtpErlangObject
        o - the object to compare to.
        true if the objects are identical.
      • toString

        public java.lang.String toString()
        Specified by:
        toString in class OtpErlangObject
        the printable representation of the object. This is usually similar to the representation used by Erlang for the same type of object.