Class Expression.Op.Mon.Not<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.Op<E>
edu.washington.cs.knowitall.logic.Expression.Op.Mon<E>
edu.washington.cs.knowitall.logic.Expression.Op.Mon.Not<E>
- Enclosing class:
Expression.Op.Mon<E>
The negation operator.
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.washington.cs.knowitall.logic.Expression.Op.Mon
Expression.Op.Mon.Not<E>
Nested classes/interfaces inherited from class edu.washington.cs.knowitall.logic.Expression.Op
Expression.Op.Bin<E>, Expression.Op.Mon<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 inherited from class edu.washington.cs.knowitall.logic.Expression.Op.Mon
sub
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Apply this expression to an entity to get true or false.int
The precedence of this operator.toString()
Methods inherited from class edu.washington.cs.knowitall.logic.Expression.Op.Mon
toString
Methods inherited from class edu.washington.cs.knowitall.logic.Expression.Op
preceeds
-
Constructor Details
-
Not
public Not()
-
-
Method Details
-
toString
-
apply
Description copied from class:Expression.Apply
Apply this expression to an entity to get true or false.- Specified by:
apply
in classExpression.Apply<E>
-
precedence
public int precedence()Description copied from class:Expression.Op
The precedence of this operator. A smaller number denotes higher precedence.- Specified by:
precedence
in classExpression.Op<E>
-