Class Primitives.BooleanVariable
- java.lang.Object
-
- weka.core.expressionlanguage.common.Primitives.BooleanVariable
-
- All Implemented Interfaces:
Serializable,Primitives.BooleanExpression,Node
- Enclosing class:
- Primitives
public static class Primitives.BooleanVariable extends Object implements Primitives.BooleanExpression, Serializable
An AST node representing a boolean variable- Version:
- $Revision: 1000 $
- Author:
- Benjamin Weber ( benweber at student dot ethz dot ch )
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BooleanVariable(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanevaluate()StringgetName()booleangetValue()voidsetValue(boolean value)
-
-
-
Constructor Detail
-
BooleanVariable
public BooleanVariable(String name)
-
-
Method Detail
-
evaluate
public boolean evaluate()
- Specified by:
evaluatein interfacePrimitives.BooleanExpression
-
getName
public String getName()
-
getValue
public boolean getValue()
-
setValue
public void setValue(boolean value)
-
-