Class DoubleBindMarkerNode

  • All Implemented Interfaces:
    ExpNode

    public class DoubleBindMarkerNode
    extends BindMarkerNode
    A bind marker representing a Double value
    • Constructor Detail

      • DoubleBindMarkerNode

        public DoubleBindMarkerNode​(java.lang.Double value)
    • Method Detail

      • visit

        public <T> T visit​(ExpNodeVisitor<T> visitor)
        Description copied from interface: ExpNode
        Generic evaluation visitor
        Returns:
      • checkTypeAndValue

        public boolean checkTypeAndValue​(java.lang.Object expectedValue)
        Description copied from class: BindMarkerNode
        Check that the value represented by this bind marker equals the type and value of the given expectedValue.
        Specified by:
        checkTypeAndValue in class BindMarkerNode
        Returns:
      • toValueString

        public java.lang.String toValueString​(java.lang.String defaultValue)
        Description copied from class: BindMarkerNode
        Return a string of the value being represented by this bind marker, or the defaultValue if the internal value is null.
        Specified by:
        toValueString in class BindMarkerNode
        Returns: