public class OtpErlangBoolean extends OtpErlangAtom
OtpErlangObject.HashmaxAtomLengthhashCodeValue| Constructor and Description |
|---|
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.
|
atomValue, booleanValue, doHashCode, encode, equals, toStringpublic 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.