Class Primitives.BooleanVariable
- java.lang.Object
-
- weka.core.expressionlanguage.common.Primitives.BooleanVariable
-
- All Implemented Interfaces:
java.io.Serializable,Primitives.BooleanExpression,Node
- Enclosing class:
- Primitives
public static class Primitives.BooleanVariable extends java.lang.Object implements Primitives.BooleanExpression, java.io.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(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanevaluate()java.lang.StringgetName()booleangetValue()voidsetValue(boolean value)
-
-
-
Method Detail
-
evaluate
public boolean evaluate()
- Specified by:
evaluatein interfacePrimitives.BooleanExpression
-
getName
public java.lang.String getName()
-
getValue
public boolean getValue()
-
setValue
public void setValue(boolean value)
-
-