Class Bool
- java.lang.Object
-
- Bool
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
eval()
Evaluates the given conditional.Cond
neg()
negates the value of the conditional, without evaluating it.java.lang.String
toString()
-
-
-
Field Detail
-
val
private Memo<java.lang.Boolean> val
-
-
Constructor Detail
-
Bool
public Bool(Constant<java.lang.Boolean> val)
-
-
Method Detail
-
eval
public boolean eval()
Description copied from interface:Cond
Evaluates the given conditional.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-