org.scijava.sjep.eval
Interface StandardEvaluator

All Superinterfaces:
Evaluator
All Known Implementing Classes:
AbstractStandardStackEvaluator, DefaultEvaluator

public interface StandardEvaluator
extends Evaluator

Interface for expression evaluators which support the standard operators.

Author:
Curtis Rueden

Method Summary
 Object add(Object a, Object b)
          Applies the Operators.ADD operator.
 Object addAssign(Object a, Object b)
          Applies the Operators.ADD_ASSIGN operator.
 Object andAssign(Object a, Object b)
          Applies the Operators.AND_ASSIGN operator.
 Object assign(Object a, Object b)
          Applies the Operators.ASSIGN operator.
 Object bitwiseAnd(Object a, Object b)
          Applies the Operators.BITWISE_AND operator.
 Object bitwiseOr(Object a, Object b)
          Applies the Operators.BITWISE_OR operator.
 Object colon(Object a, Object b)
          Applies the Operators.COLON operator.
 Object complement(Object a)
          Applies the Operators.COMPLEMENT operator.
 Object div(Object a, Object b)
          Applies the Operators.DIV operator.
 Object divAssign(Object a, Object b)
          Applies the Operators.DIV_ASSIGN operator.
 Object dot(Object a, Object b)
          Applies the Operators.DOT operator.
 Object dotDiv(Object a, Object b)
          Applies the Operators.DOT_DIV operator.
 Object dotDivAssign(Object a, Object b)
          Applies the Operators.DOT_DIV_ASSIGN operator.
 Object dotMul(Object a, Object b)
          Applies the Operators.DOT_MUL operator.
 Object dotPow(Object a, Object b)
          Applies the Operators.DOT_POW operator.
 Object dotPowAssign(Object a, Object b)
          Applies the Operators.DOT_POW_ASSIGN operator.
 Object dotRightDiv(Object a, Object b)
          Applies the Operators.DOT_RIGHT_DIV operator.
 Object dotRightDivAssign(Object a, Object b)
          Applies the Operators.DOT_RIGHT_DIV_ASSIGN operator.
 Object dotTranspose(Object a)
          Applies the Operators.DOT_TRANSPOSE operator.
 Object equal(Object a, Object b)
          Applies the Operators.EQUAL operator.
 Object greaterThan(Object a, Object b)
          Applies the Operators.GREATER_THAN operator.
 Object greaterThanOrEqual(Object a, Object b)
          Applies the Operators.GREATER_THAN_OR_EQUAL operator.
 Object instanceOf(Object a, Object b)
          Applies the Operators.INSTANCEOF operator.
 Object leftShift(Object a, Object b)
          Applies the Operators.LEFT_SHIFT operator.
 Object leftShiftAssign(Object a, Object b)
          Applies the Operators.LEFT_SHIFT_ASSIGN operator.
 Object lessThan(Object a, Object b)
          Applies the Operators.LESS_THAN operator.
 Object lessThanOrEqual(Object a, Object b)
          Applies the Operators.LESS_THAN_OR_EQUAL operator.
 Object logicalAnd(Object a, Object b)
          Applies the Operators.LOGICAL_AND operator.
 Object logicalOr(Object a, Object b)
          Applies the Operators.LOGICAL_OR operator.
 Object mod(Object a, Object b)
          Applies the Operators.MOD operator.
 Object modAssign(Object a, Object b)
          Applies the Operators.MOD_ASSIGN operator.
 Object mul(Object a, Object b)
          Applies the Operators.MUL operator.
 Object mulAssign(Object a, Object b)
          Applies the Operators.MUL_ASSIGN operator.
 Object neg(Object a)
          Applies the Operators.NEG operator.
 Object not(Object a)
          Applies the Operators.NOT operator.
 Object notEqual(Object a, Object b)
          Applies the Operators.NOT_EQUAL operator.
 Object orAssign(Object a, Object b)
          Applies the Operators.OR_ASSIGN operator.
 Object pos(Object a)
          Applies the Operators.POS operator.
 Object postDec(Object a)
          Applies the Operators.POST_DEC operator.
 Object postInc(Object a)
          Applies the Operators.POST_INC operator.
 Object pow(Object a, Object b)
          Applies the Operators.POW operator.
 Object powAssign(Object a, Object b)
          Applies the Operators.POW_ASSIGN operator.
 Object preDec(Object a)
          Applies the Operators.PRE_DEC operator.
 Object preInc(Object a)
          Applies the Operators.PRE_INC operator.
 Object rightDiv(Object a, Object b)
          Applies the Operators.RIGHT_DIV operator.
 Object rightDivAssign(Object a, Object b)
          Applies the Operators.RIGHT_DIV_ASSIGN operator.
 Object rightShift(Object a, Object b)
          Applies the Operators.RIGHT_SHIFT operator.
 Object rightShiftAssign(Object a, Object b)
          Applies the Operators.RIGHT_SHIFT_ASSIGN operator.
 Object sub(Object a, Object b)
          Applies the Operators.SUB operator.
 Object subAssign(Object a, Object b)
          Applies the Operators.SUB_ASSIGN operator.
 Object transpose(Object a)
          Applies the Operators.TRANSPOSE operator.
 Object unsignedRightShift(Object a, Object b)
          Applies the Operators.UNSIGNED_RIGHT_SHIFT operator.
 Object unsignedRightShiftAssign(Object a, Object b)
          Applies the Operators.UNSIGNED_RIGHT_SHIFT_ASSIGN operator.
 
Methods inherited from interface org.scijava.sjep.eval.Evaluator
evaluate, evaluate, evaluate, get, set, setAll, value
 

Method Detail

dot

Object dot(Object a,
           Object b)
Applies the Operators.DOT operator.


transpose

Object transpose(Object a)
Applies the Operators.TRANSPOSE operator.


dotTranspose

Object dotTranspose(Object a)
Applies the Operators.DOT_TRANSPOSE operator.


pow

Object pow(Object a,
           Object b)
Applies the Operators.POW operator.


dotPow

Object dotPow(Object a,
              Object b)
Applies the Operators.DOT_POW operator.


postInc

Object postInc(Object a)
Applies the Operators.POST_INC operator.


postDec

Object postDec(Object a)
Applies the Operators.POST_DEC operator.


preInc

Object preInc(Object a)
Applies the Operators.PRE_INC operator.


preDec

Object preDec(Object a)
Applies the Operators.PRE_DEC operator.


pos

Object pos(Object a)
Applies the Operators.POS operator.


neg

Object neg(Object a)
Applies the Operators.NEG operator.


complement

Object complement(Object a)
Applies the Operators.COMPLEMENT operator.


not

Object not(Object a)
Applies the Operators.NOT operator.


mul

Object mul(Object a,
           Object b)
Applies the Operators.MUL operator.


div

Object div(Object a,
           Object b)
Applies the Operators.DIV operator.


mod

Object mod(Object a,
           Object b)
Applies the Operators.MOD operator.


rightDiv

Object rightDiv(Object a,
                Object b)
Applies the Operators.RIGHT_DIV operator.


dotMul

Object dotMul(Object a,
              Object b)
Applies the Operators.DOT_MUL operator.


dotDiv

Object dotDiv(Object a,
              Object b)
Applies the Operators.DOT_DIV operator.


dotRightDiv

Object dotRightDiv(Object a,
                   Object b)
Applies the Operators.DOT_RIGHT_DIV operator.


add

Object add(Object a,
           Object b)
Applies the Operators.ADD operator.


sub

Object sub(Object a,
           Object b)
Applies the Operators.SUB operator.


leftShift

Object leftShift(Object a,
                 Object b)
Applies the Operators.LEFT_SHIFT operator.


rightShift

Object rightShift(Object a,
                  Object b)
Applies the Operators.RIGHT_SHIFT operator.


unsignedRightShift

Object unsignedRightShift(Object a,
                          Object b)
Applies the Operators.UNSIGNED_RIGHT_SHIFT operator.


colon

Object colon(Object a,
             Object b)
Applies the Operators.COLON operator.


lessThan

Object lessThan(Object a,
                Object b)
Applies the Operators.LESS_THAN operator.


greaterThan

Object greaterThan(Object a,
                   Object b)
Applies the Operators.GREATER_THAN operator.


lessThanOrEqual

Object lessThanOrEqual(Object a,
                       Object b)
Applies the Operators.LESS_THAN_OR_EQUAL operator.


greaterThanOrEqual

Object greaterThanOrEqual(Object a,
                          Object b)
Applies the Operators.GREATER_THAN_OR_EQUAL operator.


instanceOf

Object instanceOf(Object a,
                  Object b)
Applies the Operators.INSTANCEOF operator.


equal

Object equal(Object a,
             Object b)
Applies the Operators.EQUAL operator.


notEqual

Object notEqual(Object a,
                Object b)
Applies the Operators.NOT_EQUAL operator.


bitwiseAnd

Object bitwiseAnd(Object a,
                  Object b)
Applies the Operators.BITWISE_AND operator.


bitwiseOr

Object bitwiseOr(Object a,
                 Object b)
Applies the Operators.BITWISE_OR operator.


logicalAnd

Object logicalAnd(Object a,
                  Object b)
Applies the Operators.LOGICAL_AND operator.


logicalOr

Object logicalOr(Object a,
                 Object b)
Applies the Operators.LOGICAL_OR operator.


assign

Object assign(Object a,
              Object b)
Applies the Operators.ASSIGN operator.


powAssign

Object powAssign(Object a,
                 Object b)
Applies the Operators.POW_ASSIGN operator.


dotPowAssign

Object dotPowAssign(Object a,
                    Object b)
Applies the Operators.DOT_POW_ASSIGN operator.


mulAssign

Object mulAssign(Object a,
                 Object b)
Applies the Operators.MUL_ASSIGN operator.


divAssign

Object divAssign(Object a,
                 Object b)
Applies the Operators.DIV_ASSIGN operator.


modAssign

Object modAssign(Object a,
                 Object b)
Applies the Operators.MOD_ASSIGN operator.


rightDivAssign

Object rightDivAssign(Object a,
                      Object b)
Applies the Operators.RIGHT_DIV_ASSIGN operator.


dotDivAssign

Object dotDivAssign(Object a,
                    Object b)
Applies the Operators.DOT_DIV_ASSIGN operator.


dotRightDivAssign

Object dotRightDivAssign(Object a,
                         Object b)
Applies the Operators.DOT_RIGHT_DIV_ASSIGN operator.


addAssign

Object addAssign(Object a,
                 Object b)
Applies the Operators.ADD_ASSIGN operator.


subAssign

Object subAssign(Object a,
                 Object b)
Applies the Operators.SUB_ASSIGN operator.


andAssign

Object andAssign(Object a,
                 Object b)
Applies the Operators.AND_ASSIGN operator.


orAssign

Object orAssign(Object a,
                Object b)
Applies the Operators.OR_ASSIGN operator.


leftShiftAssign

Object leftShiftAssign(Object a,
                       Object b)
Applies the Operators.LEFT_SHIFT_ASSIGN operator.


rightShiftAssign

Object rightShiftAssign(Object a,
                        Object b)
Applies the Operators.RIGHT_SHIFT_ASSIGN operator.


unsignedRightShiftAssign

Object unsignedRightShiftAssign(Object a,
                                Object b)
Applies the Operators.UNSIGNED_RIGHT_SHIFT_ASSIGN operator.



Copyright © 2015 SciJava. All rights reserved.