com.japisoft.formula.operator.binary
Class INOperator

java.lang.Object
  extended bycom.japisoft.formula.operator.binary.INOperator
All Implemented Interfaces:
BinaryOperator

public class INOperator
extends java.lang.Object
implements BinaryOperator

a in b : Check if the element 'a' is inside the list 'b'

Version:
1.0
Author:
(c) 2004 JAPISoft / http://www.japisoft.com

Field Summary
static java.lang.String NAME
           
 
Constructor Summary
INOperator()
           
 
Method Summary
 java.lang.Object eval(OperatorContext context)
          Eval this expression and return the operation result
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values
Constructor Detail

INOperator

public INOperator()
Method Detail

eval

public java.lang.Object eval(OperatorContext context)
                      throws EvaluateException
Description copied from interface: BinaryOperator
Eval this expression and return the operation result

Specified by:
eval in interface BinaryOperator
Parameters:
context - Evaluation context, useful for getting the operands
Returns:
The operation result
Throws:
EvaluateException