## com.ericsson.otp.ic
Class Ref

    java.lang.Object
      com.ericsson.otp.erlang.OtpErlangObject
          com.ericsson.otp.erlang.OtpErlangRef
              com.ericsson.otp.ic.Ref

All Implemented Interfaces:
  java.io.Serializable, java.lang.Cloneable

    public final class Ref

extends com.ericsson.otp.erlang.OtpErlangRef

Ref class mapps the built-in erlang type Ref, a message reference.

See Also:
  Serialized Form

Constructor Summary
`Ref(com.ericsson.otp.erlang.OtpInputStream buf)`
`Ref(com.ericsson.otp.erlang.OtpSelf self)`
`Ref(java.lang.String node, int[] ids, int creation)`
`Ref(java.lang.String node, int id, int creation)` Old style Ref costructor.

Method Summary
`boolean` `equal(Ref _ref)` Comparisson method for Ref.

Methods inherited from class com.ericsson.otp.erlang.OtpErlangRef
`clone, creation, encode, equals, id, ids, isNewRef, node, toString`

Methods inherited from class com.ericsson.otp.erlang.OtpErlangObject
`decode, hashCode`

Methods inherited from class java.lang.Object
`getClass, notify, notifyAll, wait, wait, wait`

Constructor Detail

### Ref

    public Ref(com.ericsson.otp.erlang.OtpSelf self)

### Ref

    public Ref(com.ericsson.otp.erlang.OtpInputStream buf)
        throws com.ericsson.otp.erlang.OtpErlangDecodeException

Throws:
  `com.ericsson.otp.erlang.OtpErlangDecodeException`

### Ref

    public Ref(java.lang.String node,
               int id,
               int creation)

  Old style Ref costructor. Costructs an Ref that coresponds to the old erlang Ref type.

### Ref

    public Ref(java.lang.String node,
               int[] ids,
               int creation)

Method Detail

### equal

    public boolean equal(Ref _ref)

  Comparisson method for Ref.

  Returns:
    true if the input Ref value equals the value of the current object, false otherwize

Copyright © 1991-2007 Ericsson AB