net.java.quickcheck.generator.iterable
Class Iterables
java.lang.Object
net.java.quickcheck.generator.iterable.Iterables
public final class Iterables
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
toIterable
public static <T> Iterable<T> toIterable(Generator<T> generator)
- Convert a generator into a
iterable
.
The generator will be run QuickCheck.MAX_NUMBER_OF_RUNS
times.
toIterable
public static <T> Iterable<T> toIterable(Generator<T> generator,
int numberOfRuns)
- Convert a generator into a
iterable
.
- Parameters:
numberOfRuns
- to execute the runner
Copyright © 2011. All Rights Reserved.