org.apache.commons.el
Class EqualsOperator
java.lang.Object
org.apache.commons.el.BinaryOperator
org.apache.commons.el.EqualityOperator
org.apache.commons.el.EqualsOperator
public class EqualsOperator
- extends EqualityOperator
The implementation of the equals operator
- Version:
- $Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: bayard $
- Author:
- Nathan Abramson - Art Technology Group
Method Summary |
boolean |
apply(boolean pAreEqual)
Applies the operator given the fact that the two elements are
equal. |
String |
getOperatorSymbol()
Returns the symbol representing the operator |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SINGLETON
public static final EqualsOperator SINGLETON
EqualsOperator
public EqualsOperator()
- Constructor
getOperatorSymbol
public String getOperatorSymbol()
- Returns the symbol representing the operator
- Specified by:
getOperatorSymbol
in class BinaryOperator
apply
public boolean apply(boolean pAreEqual)
- Applies the operator given the fact that the two elements are
equal.
- Specified by:
apply
in class EqualityOperator
Copyright © 2003-2010 Apache Software Foundation. All Rights Reserved.