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

java.lang.Object
  extended by com.agical.rmock.core.match.operator.AbstractExpression
All Implemented Interfaces:
Expression
Direct Known Subclasses:
AbstractBinaryOperator, AbstractConstraint, NotOperator

public abstract class AbstractExpression
extends java.lang.Object
implements Expression


Constructor Summary
AbstractExpression()
           
 
Method Summary
 Expression and(Expression right)
          Ands this expression with the right side expression
 Expression or(Expression right)
          Ors this expression with the right side expression
 Expression xor(Expression right)
          Xors this expression with the right side expression
 
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
describeWith, passes
 

Constructor Detail

AbstractExpression

public AbstractExpression()
Method Detail

and

public Expression and(Expression right)
Description copied from interface: Expression
Ands this expression with the right side expression

Specified by:
and in interface Expression
Parameters:
right - The right side expression
Returns:
An expression equivalent to: this && right

or

public Expression or(Expression right)
Description copied from interface: Expression
Ors this expression with the right side expression

Specified by:
or in interface Expression
Parameters:
right - The right side expression
Returns:
An expression equivalent to: this || right

xor

public Expression xor(Expression right)
Description copied from interface: Expression
Xors this expression with the right side expression

Specified by:
xor in interface Expression
Parameters:
right - The right side expression
Returns:
An expression equivalent to: this ^ right


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