|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.ericsson.otp.erlang.OtpErlangObject
public abstract class OtpErlangObject
Base class of the Erlang data type classes. This class is used to represent an arbitrary Erlang term.
| Constructor Summary | |
|---|---|
OtpErlangObject()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
static OtpErlangObject |
decode(OtpInputStream buf)
Read binary data in the Erlang external format, and produce a corresponding Erlang data type object. |
abstract void |
encode(OtpOutputStream buf)
Convert the object according to the rules of the Erlang external format. |
abstract boolean |
equals(java.lang.Object o)
Determine if two Erlang objects are equal. |
abstract java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OtpErlangObject()
| Method Detail |
|---|
public abstract java.lang.String toString()
toString in class java.lang.Objectpublic abstract void encode(OtpOutputStream buf)
buf - an output stream to which the encoded term should be
written.
public static OtpErlangObject decode(OtpInputStream buf)
throws OtpErlangDecodeException
buf - an input stream containing one or more encoded Erlang
terms.
OtpErlangDecodeException - if the stream does not contain a valid representation
of an Erlang term.public abstract boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - the object to compare to.
public java.lang.Object clone()
clone in class java.lang.Object
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||