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