public abstract class ArithmeticOperator extends BinaryOperator
This is the superclass for all binary arithmetic operators
Constructor and Description |
---|
ArithmeticOperator() |
Modifier and Type | Method and Description |
---|---|
abstract double |
apply(double pLeft,
double pRight,
Logger pLogger)
Applies the operator to the given double values, returning a double
|
abstract long |
apply(long pLeft,
long pRight,
Logger pLogger)
Applies the operator to the given double values, returning a double
|
Object |
apply(Object pLeft,
Object pRight,
Object pContext,
Logger pLogger)
Applies the operator to the given value
|
getOperatorSymbol, shouldCoerceToBoolean, shouldEvaluate
public Object apply(Object pLeft, Object pRight, Object pContext, Logger pLogger) throws ELException
apply
in class BinaryOperator
ELException
public abstract double apply(double pLeft, double pRight, Logger pLogger)
public abstract long apply(long pLeft, long pRight, Logger pLogger)
Copyright © 2016 JBoss by Red Hat. All rights reserved.