public class EqualsOperator extends EqualityOperator
The implementation of the equals operator
| Modifier and Type | Field and Description |
|---|---|
static EqualsOperator |
SINGLETON |
| Constructor and Description |
|---|
EqualsOperator()
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
|
applyshouldCoerceToBoolean, shouldEvaluatepublic static final EqualsOperator SINGLETON
public EqualsOperator()
public String getOperatorSymbol()
getOperatorSymbol in class BinaryOperatorpublic boolean apply(boolean pAreEqual)
apply in class EqualityOperatorCopyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.