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)
Applies the operator given the fact that the two elements are
equal.
|
String |
getOperatorSymbol()
Returns the symbol representing the operator
|
apply
shouldCoerceToBoolean, shouldEvaluate
public static final NotEqualsOperator SINGLETON
public NotEqualsOperator()
public String getOperatorSymbol()
getOperatorSymbol
in class BinaryOperator
public boolean apply(boolean pAreEqual)
apply
in class EqualityOperator
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.