public class NotEqualsOperator extends EqualityOperator
The implementation of the not equals operator
| Modifier and Type | Field and Description |
|---|---|
static NotEqualsOperator |
SINGLETON |
| Constructor and Description |
|---|
NotEqualsOperator()
Constructor
|
| Modifier and Type | Method and 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
|
applyshouldCoerceToBoolean, shouldEvaluatepublic static final NotEqualsOperator SINGLETON
public java.lang.String getOperatorSymbol()
getOperatorSymbol in class BinaryOperatorpublic boolean apply(boolean pAreEqual,
Logger pLogger)
apply in class EqualityOperatorCopyright (c) 1999-2012 Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.