Class BooleanLiteral


  • public class BooleanLiteral
    extends Literal
    • Constructor Detail

      • BooleanLiteral

        public BooleanLiteral​(String value)
    • Method Detail

      • getValue

        public boolean getValue()
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in class Node
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in class Node
      • shallowEquals

        public boolean shallowEquals​(Node other)
        Description copied from class: Node
        Compare with another node by considering internal state excluding any Node returned by getChildren()
        Overrides:
        shallowEquals in class Node