com.mockobjects.constraint

Interface Constraint

public interface Constraint

A constraint over acceptable values.
Method Summary
booleaneval(Object o)
Evaluates the constraint for argument o.

Method Detail

eval

public boolean eval(Object o)
Evaluates the constraint for argument o.

Returns: true if o meets the constraint, false if it does not.

Copyright © 2002 Mock Objects. All Rights Reserved.