weka.core.expressionlanguage.common

## Class Primitives.BooleanConstant

- java.lang.Object
- - weka.core.expressionlanguage.common.Primitives.BooleanConstant

- All Implemented Interfaces:
    java.io.Serializable, Primitives.BooleanExpression, Node
  Enclosing class:
    Primitives

      public static class Primitives.BooleanConstant
      extends java.lang.Object
      implements Primitives.BooleanExpression, java.io.Serializable

  An AST node representing a boolean constant
  Version:
    $Revision: 1000 $
  Author:
    Benjamin Weber ( benweber at student dot ethz dot ch )
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BooleanConstant(boolean value)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `evaluate()`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### BooleanConstant

          public BooleanConstant(boolean value)

  - ### Method Detail

    - #### evaluate

          public boolean evaluate()

      Specified by:
        `evaluate` in interface `Primitives.BooleanExpression`