com.mockobjects.constraint

Class And

public class And extends Object implements Constraint

Calculates the logical conjunction of two constraints. Evaluation is shortcut, so that the second constraint is not called if the first constraint returns false.
Constructor Summary
And(Constraint p1, Constraint p2)
Method Summary
booleaneval(Object o)
StringtoString()

Constructor Detail

And

public And(Constraint p1, Constraint p2)

Method Detail

eval

public boolean eval(Object o)

toString

public String toString()
Copyright © 2002 Mock Objects. All Rights Reserved.