Uses of Interface
com.mockobjects.constraint.Constraint
Packages that use Constraint
-
Uses of Constraint in com.mockobjects.constraint
Classes in com.mockobjects.constraint that implement ConstraintModifier and TypeClassDescriptionclass
Calculates the logical conjunction of two constraints.class
A constraint that always returnstrue
.class
Is the value a number equal to a value within some range of acceptable error?class
Is the value equal to another value, as tested by theObject.equals(java.lang.Object)
method?class
Tests if the value is an event announced by a specific object.class
Is the value greater than anotherComparable
value?class
Tests whether the value is an instance of a class.class
Is the value less than anotherComparable
value?class
Calculates the logical negation of a constraint.class
Is the value null?class
Is the value the same object as another value?class
Calculates the logical disjunction of two constraints.Constructors in com.mockobjects.constraint with parameters of type ConstraintModifierConstructorDescriptionAnd
(Constraint p1, Constraint p2) IsNot
(Constraint p) Or
(Constraint p1, Constraint p2) -
Uses of Constraint in com.mockobjects.dynamic
Fields in com.mockobjects.dynamic declared as ConstraintModifier and TypeFieldDescriptionstatic final Constraint
C.IS_FALSE
static final Constraint
static final Constraint
static final Constraint
C.IS_TRUE
static final Constraint
C.IS_ZERO
Methods in com.mockobjects.dynamic that return ConstraintModifier and TypeMethodDescriptionstatic Constraint
C.and
(Constraint p1, Constraint p2) static Constraint
C.eq
(double d) static Constraint
C.eq
(int n) static Constraint
C.eq
(long l) static Constraint
static Constraint
C.gt
(char c) static Constraint
C.gt
(double d) static Constraint
C.gt
(int n) static Constraint
C.gt
(long l) static Constraint
static Constraint
C.lt
(char c) static Constraint
C.lt
(double d) static Constraint
C.lt
(int n) static Constraint
C.lt
(long l) static Constraint
C.not
(Constraint p) static Constraint
C.or
(Constraint p1, Constraint p2) static Constraint
Methods in com.mockobjects.dynamic with parameters of type ConstraintModifier and TypeMethodDescriptionstatic Constraint
C.and
(Constraint p1, Constraint p2) static ConstraintMatcher
C.args
(Constraint p) static ConstraintMatcher
C.args
(Constraint p1, Constraint p2) static ConstraintMatcher
C.args
(Constraint p1, Constraint p2, Constraint p3) static Constraint
C.not
(Constraint p) static Constraint
C.or
(Constraint p1, Constraint p2) Constructors in com.mockobjects.dynamic with parameters of type ConstraintModifierConstructorDescriptionFullConstraintMatcher
(Constraint[] constraints) FullConstraintMatcher
(Constraint c1, Constraint c2, Constraint c3)