Class BooleanMemLiteral

All Implemented Interfaces:
Serializable, Literal, Value, MemValue

public class BooleanMemLiteral extends MemLiteral
An extension of MemLiteral that stores a boolean value to avoid parsing.
Author:
David Huynh, Arjohn Kampman
See Also:
  • Constructor Details Link icon

    • BooleanMemLiteral Link icon

      public BooleanMemLiteral(Object creator, boolean b)
    • BooleanMemLiteral Link icon

      public BooleanMemLiteral(Object creator, String label, boolean b)
  • Method Details Link icon

    • booleanValue Link icon

      public boolean booleanValue()
      Description copied from interface: Literal
      Returns the boolean value of this literal.
      Specified by:
      booleanValue in interface Literal
      Overrides:
      booleanValue in class SimpleLiteral
      Returns:
      The boolean value of the literal.