org.apache.commons.jxpath.ri.compiler
Class CoreOperationCompare
java.lang.Object
org.apache.commons.jxpath.ri.compiler.Expression
org.apache.commons.jxpath.ri.compiler.Operation
org.apache.commons.jxpath.ri.compiler.CoreOperation
org.apache.commons.jxpath.ri.compiler.CoreOperationCompare
- Direct Known Subclasses:
- CoreOperationEqual, CoreOperationNotEqual
- public abstract class CoreOperationCompare
- extends CoreOperation
Common superclass for the implementations of Expression for the operations
"=" and "!=".
- Version:
- $Revision: 1.3 $ $Date: 2004/02/29 14:17:38 $
- Author:
- Dmitri Plotnikov
Fields inherited from class org.apache.commons.jxpath.ri.compiler.Operation |
args |
Method Summary |
protected boolean |
contains(java.util.Iterator it,
java.lang.Object value)
|
protected boolean |
equal(EvalContext context,
Expression left,
Expression right)
Compares two values |
protected boolean |
equal(java.lang.Object l,
java.lang.Object r)
|
protected boolean |
findMatch(java.util.Iterator lit,
java.util.Iterator rit)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CoreOperationCompare
public CoreOperationCompare(Expression arg1,
Expression arg2)
equal
protected boolean equal(EvalContext context,
Expression left,
Expression right)
- Compares two values
contains
protected boolean contains(java.util.Iterator it,
java.lang.Object value)
findMatch
protected boolean findMatch(java.util.Iterator lit,
java.util.Iterator rit)
equal
protected boolean equal(java.lang.Object l,
java.lang.Object r)