View Javadoc
1 /* Copyright (c) 2000-2003, jMock.org. See bundled LICENSE.txt */ 2 package org.jmock; 3 4 /*** 5 * A constraint over acceptable values. 6 */ 7 public interface Constraint { 8 /*** 9 * Evaluates the constraint for argument <var>o</var>. 10 * 11 * @return <code>true</code> if <var>o</var> meets the constraint, 12 * <code>false</code> if it does not. 13 */ 14 boolean eval(Object o); 15 }

This page was automatically generated by Maven