# Package com.mockobjects.constraint

- Interface Summary
  Interface | Description
  --- | ---
  Constraint | A constraint over acceptable values.

- Class Summary
  Class | Description
  --- | ---
  And | Calculates the logical conjunction of two constraints.
  IsAnything | A constraint that always returns `true`.
  IsCloseTo | Is the value a number equal to a value within some range of acceptable error?
  IsEqual | Is the value equal to another value, as tested by the `Object.equals(java.lang.Object)` method?
  IsEventFrom | Tests if the value is an event announced by a specific object.
  IsGreaterThan | Is the value greater than another `Comparable` value?
  IsInstanceOf | Tests whether the value is an instance of a class.
  IsLessThan | Is the value less than another `Comparable` value?
  IsNot | Calculates the logical negation of a constraint.
  IsNull | Is the value null?
  IsSame | Is the value the same object as another value?
  Or | Calculates the logical disjunction of two constraints.

Copyright © 2002 Mock Objects. All Rights Reserved.