com.mockobjects.constraint

Class Or

public class Or extends Object implements Constraint

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

Constructor Detail

Or

public Or(Constraint p1, Constraint p2)

Method Detail

eval

public boolean eval(Object o)

toString

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