public class And extends java.lang.Object implements Constraint
false
.Constructor and Description |
---|
And(Constraint p1,
Constraint p2) |
Modifier and Type | Method and Description |
---|---|
boolean |
eval(java.lang.Object o)
Evaluates the constraint for argument o.
|
java.lang.String |
toString() |
public And(Constraint p1, Constraint p2)
public boolean eval(java.lang.Object o)
Constraint
eval
in interface Constraint
true
if o meets the constraint,
false
if it does not.public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2002 Mock Objects. All Rights Reserved.