Class BooleanMemLiteral

  • All Implemented Interfaces:
    java.io.Serializable, Literal, Value, MemValue

    public class BooleanMemLiteral
    extends MemLiteral
    An extension of MemLiteral that stores a boolean value to avoid parsing.
    See Also:
    Serialized Form
    • Field Detail

      • b

        private final boolean b
    • Constructor Detail

      • BooleanMemLiteral

        public BooleanMemLiteral​(java.lang.Object creator,
                                 boolean b)
      • BooleanMemLiteral

        public BooleanMemLiteral​(java.lang.Object creator,
                                 java.lang.String label,
                                 boolean b)
    • Method Detail

      • booleanValue

        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.