public class OtpErlangBoolean extends OtpErlangAtom
OtpErlangObject.Hash
maxAtomLength
hashCodeValue
Constructor | 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.
|
finalize, getClass, notify, notifyAll, wait, wait, wait
atomValue, booleanValue, doHashCode, encode, equals, toString
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.