# Class ASTFloatScalar

java.lang.Object
org.apache.cayenne.access.translator.sqltemplate.parser.SimpleNode
org.apache.cayenne.access.translator.sqltemplate.parser.ScalarNode<Double>
org.apache.cayenne.access.translator.sqltemplate.parser.ASTFloatScalar

All Implemented Interfaces:
  `ExpressionNode, Node`

public class ASTFloatScalar extends ScalarNode<Double>

Since:
  4.1

- ## Field Summary

  ### Fields inherited from class SimpleNode

  `children, id, parent`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ASTFloatScalar(int id)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `evaluateAsBoolean(Context context)`
  `double`
  `evaluateAsDouble(Context context)`

  ### Methods inherited from class ScalarNode

  `evaluate, evaluateAsLong, evaluateAsObject, evaluateAsString, getValue, setValue`

  ### Methods inherited from class SimpleNode

  `dump, jjtAddChild, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtSetParent, toString, toString`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### ASTFloatScalar

    public ASTFloatScalar(int id)

- ## Method Details

  - ### evaluateAsBoolean

    public boolean evaluateAsBoolean(Context context)
    Specified by:
      `evaluateAsBoolean` in interface `ExpressionNode`
    Overrides:
      `evaluateAsBoolean` in class `ScalarNode<Double>`

  - ### evaluateAsDouble

    public double evaluateAsDouble(Context context)
    Specified by:
      `evaluateAsDouble` in interface `ExpressionNode`
    Overrides:
      `evaluateAsDouble` in class `ScalarNode<Double>`