public class NotEqualsOperator extends EqualityOperator
The implementation of the not equals operator
| Modifier and Type | Field | Description |
|---|---|---|
static NotEqualsOperator |
SINGLETON |
| Constructor | Description |
|---|---|
NotEqualsOperator() |
Constructor
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
apply(boolean pAreEqual,
Logger pLogger) |
Applies the operator given the fact that the two elements are
equal.
|
java.lang.String |
getOperatorSymbol() |
Returns the symbol representing the operator
|
shouldCoerceToBoolean, shouldEvaluateapplypublic static final NotEqualsOperator SINGLETON
public java.lang.String getOperatorSymbol()
getOperatorSymbol in class BinaryOperatorpublic boolean apply(boolean pAreEqual,
Logger pLogger)
apply in class EqualityOperatorCopyright (c) 2001-2002 - Apache Software Foundation