com.mockobjects.dynamic
Class C
java.lang.Object
com.mockobjects.dynamic.C
- public abstract class C
- extends java.lang.Object
Convenient factory functions and constants for building predicates.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IS_ANYTHING
public static final IsAnything IS_ANYTHING
IS_NULL
public static final IsNull IS_NULL
IS_NOT_NULL
public static final Constraint IS_NOT_NULL
IS_TRUE
public static final Constraint IS_TRUE
IS_FALSE
public static final Constraint IS_FALSE
IS_ZERO
public static final Constraint IS_ZERO
IS_NOT_ZERO
public static final Constraint IS_NOT_ZERO
NO_ARGS
public static final ConstraintMatcher NO_ARGS
ANY_ARGS
public static final ConstraintMatcher ANY_ARGS
C
public C()
same
public static Constraint same(java.lang.Object o)
eq
public static Constraint eq(java.lang.Object o)
eq
public static ConstraintMatcher eq(java.lang.Object arg0,
java.lang.Object arg1)
eq
public static ConstraintMatcher eq(java.lang.Object arg0,
java.lang.Object arg1,
java.lang.Object arg2)
eq
public static Constraint eq(int n)
eq
public static Constraint eq(long l)
eq
public static Constraint eq(double d)
gt
public static Constraint gt(int n)
gt
public static Constraint gt(long l)
gt
public static Constraint gt(double d)
gt
public static Constraint gt(char c)
lt
public static Constraint lt(int n)
lt
public static Constraint lt(long l)
lt
public static Constraint lt(double d)
lt
public static Constraint lt(char c)
not
public static Constraint not(Constraint p)
and
public static Constraint and(Constraint p1,
Constraint p2)
or
public static Constraint or(Constraint p1,
Constraint p2)
isA
public static Constraint isA(java.lang.Class c)
args
public static ConstraintMatcher args()
args
public static ConstraintMatcher args(Constraint p)
args
public static ConstraintMatcher args(Constraint p1,
Constraint p2)
args
public static ConstraintMatcher args(Constraint p1,
Constraint p2,
Constraint p3)
anyArgs
public static ConstraintMatcher anyArgs(int argCount)
Copyright © 2002 Mock Objects. All Rights Reserved.