Class Expression.Arg.Value<E>
java.lang.Object
edu.washington.cs.knowitall.logic.Expression<E>
edu.washington.cs.knowitall.logic.Expression.Apply<E>
edu.washington.cs.knowitall.logic.Expression.Arg<E>
edu.washington.cs.knowitall.logic.Expression.Arg.Value<E>
- All Implemented Interfaces:
com.google.common.base.Predicate<E>
,Predicate<E>
- Enclosing class:
Expression.Arg<E>
An expression that is a constant value--either true or false.
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.washington.cs.knowitall.logic.Expression.Arg
Expression.Arg.Pred<E>, Expression.Arg.Value<E>
Nested classes/interfaces inherited from class edu.washington.cs.knowitall.logic.Expression
Expression.Apply<E>, Expression.Arg<E>, Expression.Op<E>, Expression.Paren<E>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.common.base.Predicate
equals, test
-
Field Details
-
value
private boolean value
-
-
Constructor Details
-
Value
public Value(boolean value)
-
-
Method Details
-
apply
Description copied from class:Expression.Apply
Apply this expression to an entity to get true or false.- Specified by:
apply
in interfacecom.google.common.base.Predicate<E>
- Specified by:
apply
in classExpression.Apply<E>
-
apply
public boolean apply() -
toString
-