|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ericsson.otp.erlang.OtpErlangObject com.ericsson.otp.erlang.OtpErlangAtom com.ericsson.otp.erlang.OtpErlangBoolean
public class OtpErlangBoolean
Provides a Java representation of Erlang booleans, which are special cases of atoms with values 'true' and 'false'.
Field Summary |
---|
Fields inherited from class com.ericsson.otp.erlang.OtpErlangAtom |
---|
maxAtomLength |
Constructor Summary | |
---|---|
OtpErlangBoolean(boolean t)
Create a boolean from the given value |
|
OtpErlangBoolean(OtpInputStream buf)
Create a boolean from a stream containing an atom encoded in Erlang external format. |
Method Summary |
---|
Methods inherited from class com.ericsson.otp.erlang.OtpErlangAtom |
---|
atomValue, booleanValue, encode, equals, toString |
Methods inherited from class com.ericsson.otp.erlang.OtpErlangObject |
---|
clone, decode |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OtpErlangBoolean(boolean t)
t
- the boolean value to represent as an atom.public OtpErlangBoolean(OtpInputStream buf) throws OtpErlangDecodeException
OtpErlangDecodeException
- if the buffer does not contain a valid external
representation of an Erlang atom.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |