com.agical.rmock.core.match.operator
Class NotOperator
java.lang.Object
com.agical.rmock.core.match.operator.AbstractExpression
com.agical.rmock.core.match.operator.NotOperator
- All Implemented Interfaces:
- Expression, Operator
public class NotOperator
- extends AbstractExpression
- implements Operator
(c) Agical AB 2005
- Author:
- joakim.ohlrogge
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotOperator
public NotOperator(Expression wrappedConstraint)
- Parameters:
wrappedConstraint
-
passes
public boolean passes(Object object)
- Specified by:
passes
in interface Expression
- Parameters:
object
- The object to check
- Returns:
- true if the object passes this constraint, otherwise false.
- See Also:
Expression.passes(java.lang.Object)
describeWith
public void describeWith(ExpressionDescriber constraintDescriber)
throws IOException
- Description copied from interface:
Expression
- Describes this expression with the given describer
- Specified by:
describeWith
in interface Expression
- Parameters:
constraintDescriber
- The describer to use
- Throws:
IOException
Copyright © 2005-2011 Agical AB. All Rights Reserved.