Class Primitives.DoubleConstant
java.lang.Object
weka.core.expressionlanguage.common.Primitives.DoubleConstant
- All Implemented Interfaces:
Serializable
,Primitives.DoubleExpression
,Node
- Enclosing class:
- Primitives
public static class Primitives.DoubleConstant
extends Object
implements Primitives.DoubleExpression, Serializable
An AST node representing a double constant
- Version:
- $Revision: 1000 $
- Author:
- Benjamin Weber ( benweber at student dot ethz dot ch )
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DoubleConstant
public DoubleConstant(double value)
-
-
Method Details
-
evaluate
public double evaluate()- Specified by:
evaluate
in interfacePrimitives.DoubleExpression
-