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, shouldEvaluate
apply
public static final NotEqualsOperator SINGLETON
public java.lang.String getOperatorSymbol()
getOperatorSymbol
in class BinaryOperator
public boolean apply(boolean pAreEqual, Logger pLogger)
apply
in class EqualityOperator
Copyright (c) 2001-2002 - Apache Software Foundation