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