Class ConfEBoolean

All Implemented Interfaces:
Serializable, Cloneable

public class ConfEBoolean extends ConfEAtom implements Serializable, Cloneable
Provides a Java representation of E booleans, which are special cases of atoms with values 'true' and 'false'.
See Also:
  • Constructor Details

    • ConfEBoolean

      public ConfEBoolean(boolean t)
      Create a boolean from the given value
      Parameters:
      t - the boolean value to represent as an atom.
    • ConfEBoolean

      public ConfEBoolean(ConfInputStream buf) throws ConfEDecodeException
      Create a boolean from a stream containing an atom encoded in E external format. The value of the boolean will be true if the atom represented by the stream is "true" without regard to case. For other atom values, the boolean will have the value false.
      Throws:
      ConfEDecodeException - if the buffer does not contain a valid external representation of an E atom.