com.agical.rmock.core.match.operator
Class XorOperator

java.lang.Object
  extended by com.agical.rmock.core.match.operator.AbstractExpression
      extended by com.agical.rmock.core.match.operator.AbstractBinaryOperator
          extended by com.agical.rmock.core.match.operator.XorOperator
All Implemented Interfaces:
Expression, Operator

public class XorOperator
extends AbstractBinaryOperator


Constructor Summary
XorOperator(Expression left, Expression right)
           
 
Method Summary
 boolean passes(java.lang.Object object)
           
 
Methods inherited from class com.agical.rmock.core.match.operator.AbstractBinaryOperator
describeWith, getLeft, getRight
 
Methods inherited from class com.agical.rmock.core.match.operator.AbstractExpression
and, or, xor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.agical.rmock.core.match.Expression
and, or, xor
 

Constructor Detail

XorOperator

public XorOperator(Expression left,
                   Expression right)
Method Detail

passes

public boolean passes(java.lang.Object object)
Parameters:
object - The object to check
Returns:
true if the object passes this constraint, otherwise false.


Copyright © 2005-2010 Agical AB. All Rights Reserved.