|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Constraint
A constraint over acceptable values.
Method Summary | |
---|---|
boolean |
eval(Object o)
Evaluates the constraint for argument o. |
Methods inherited from interface org.jmock.core.SelfDescribing |
---|
describeTo |
Method Detail |
---|
boolean eval(Object o)
o
- the object against which the constraint is evaluated.
true
if o meets the constraint,
false
if it does not.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |