|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcheck.Arbitrary
public class Arbitrary
Utility class that helps in creating new generators.
| Constructor Summary | |
|---|---|
Arbitrary()
|
|
| Method Summary | ||
|---|---|---|
static
|
getStandardGenerator(java.lang.Class<T> forClass)
Get the standard (jcheck-supplied) generator for the given Java-class. |
|
static long |
random(java.util.Random random,
long from,
long to)
Generate a random long in the interval [from-to]. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Arbitrary()
| Method Detail |
|---|
public static <T> Gen<T> getStandardGenerator(java.lang.Class<T> forClass)
forClass - the type of object the generator should be for
public static long random(java.util.Random random,
long from,
long to)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||