| Home >> All >> com >> mockobjects >> [ constraint Javadoc ] |
com.mockobjects.constraint: Javadoc index of package com.mockobjects.constraint.
Package Samples:
com.mockobjects.constraint
Classes:
IsEqual: Is the value equal to another value, as tested by the Object.equals(java.lang.Object) > Object.equals(java.lang.Object) 55 method?
And: Calculates the logical conjunction of two constraints. Evaluation is shortcut, so that the second constraint is not called if the first constraint returns false .
Or: Calculates the logical disjunction of two constraints. Evaluation is shortcut, so that the second constraint is not called if the first constraint returns true .
IsGreaterThan: Is the value greater than another java.lang.Comparable value?
IsLessThan: Is the value less than another java.lang.Comparable value?
IsCloseTo: Is the value a number equal to a value within some range of acceptable error?
IsEventFrom: Tests if the value is an event announced by a specific object.
Matches: Is the value a string that matches a regular expression?
IsAnything: A constraint that always returns true .
IsInstanceOf: Tests whether the value is an instance of a class.
IsNot: Calculates the logical negation of a constraint.
IsSame: Is the value the same object as another value?
Constraint: A constraint over acceptable values.
IsNull: Is the value null?
| Home | Contact Us | Privacy Policy | Terms of Service |