net.christopherschultz.evaluator.function
Class BinaryOperator.And

java.lang.Object
  extended by net.christopherschultz.evaluator.StandardFunction
      extended by net.christopherschultz.evaluator.function.MathFunction
          extended by net.christopherschultz.evaluator.function.BinaryOperator
              extended by net.christopherschultz.evaluator.function.BinaryOperator.And
All Implemented Interfaces:
Function
Enclosing class:
BinaryOperator

public static class BinaryOperator.And
extends BinaryOperator

Implements logical AND.


Nested Class Summary
 
Nested classes/interfaces inherited from class net.christopherschultz.evaluator.function.BinaryOperator
BinaryOperator.Add, BinaryOperator.And, BinaryOperator.Divide, BinaryOperator.Equal, BinaryOperator.Greater, BinaryOperator.GreaterEqual, BinaryOperator.IncompatibleArgumentsException, BinaryOperator.Less, BinaryOperator.LessEqual, BinaryOperator.Modulus, BinaryOperator.Multiply, BinaryOperator.NotEqual, BinaryOperator.Or, BinaryOperator.Subtract
 
Nested classes/interfaces inherited from class net.christopherschultz.evaluator.function.MathFunction
MathFunction.abs, MathFunction.acos, MathFunction.asin, MathFunction.atan, MathFunction.ceil, MathFunction.cos, MathFunction.DoubleFunction, MathFunction.exp, MathFunction.floor, MathFunction.heaviside, MathFunction.log, MathFunction.max, MathFunction.min, MathFunction.pow, MathFunction.random, MathFunction.rint, MathFunction.sin, MathFunction.sqrt, MathFunction.tan, MathFunction.toDegrees, MathFunction.toRadians
 
Field Summary
 
Fields inherited from class net.christopherschultz.evaluator.function.MathFunction
ALLOW_NULL_COMPARISON, NULL_RETURNS_NULL
 
Constructor Summary
BinaryOperator.And()
           
 
Method Summary
 Object call(EvaluationContext ec, Object lvalue, Object rvalue)
           
 
Methods inherited from class net.christopherschultz.evaluator.function.BinaryOperator
call
 
Methods inherited from class net.christopherschultz.evaluator.StandardFunction
call, getExpressionValue, getExpressionValueArray, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BinaryOperator.And

public BinaryOperator.And()
Method Detail

call

public Object call(EvaluationContext ec,
                   Object lvalue,
                   Object rvalue)
            throws EvaluationException
Specified by:
call in class BinaryOperator
Throws:
EvaluationException