Class BooleanValue

    • Method Detail

      • getValue

        public boolean getValue()
        Gets the true or false value of this boolean.
        Returns:
        the value true or false.
      • expectBooleanValue

        public BooleanValue expectBooleanValue()
        Description copied from class: Value
        Returns the current value as an ArrayValue, throwing RuntimeException when the value is the wrong type.
        Overrides:
        expectBooleanValue in class Value
        Returns:
        returns a boolean value.
      • toNode

        public Node toNode()
        Description copied from interface: ToNode
        Converts a value to a Node.
        Returns:
        Returns the creates Node.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object