public abstract class EqualityOperator extends BinaryOperator
This is the superclass for all equality operators (==, !=)
Constructor and Description |
---|
EqualityOperator() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
apply(boolean pAreEqual,
Logger pLogger)
Applies the operator given the fact that the two elements are
equal.
|
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 boolean apply(boolean pAreEqual, Logger pLogger)
Copyright © 2016 JBoss by Red Hat. All rights reserved.