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.
|
java.lang.Object |
apply(java.lang.Object pLeft,
java.lang.Object pRight,
java.lang.Object pContext,
Logger pLogger)
Applies the operator to the given value
|
getOperatorSymbol, shouldCoerceToBoolean, shouldEvaluatepublic java.lang.Object apply(java.lang.Object pLeft,
java.lang.Object pRight,
java.lang.Object pContext,
Logger pLogger)
throws ELException
apply in class BinaryOperatorELExceptionpublic abstract boolean apply(boolean pAreEqual,
Logger pLogger)
Copyright (c) 1999-2012 Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.