net.java.quickcheck.generator.support
Class IteratorGenerator<T>
java.lang.Object
net.java.quickcheck.generator.support.IteratorGenerator<T>
- All Implemented Interfaces:
- Generator<Iterator<T>>
public class IteratorGenerator<T>
- extends Object
- implements Generator<Iterator<T>>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MIN_SIZE
public static final int MIN_SIZE
- See Also:
- Constant Field Values
MAX_SIZE
public static final int MAX_SIZE
- See Also:
- Constant Field Values
IteratorGenerator
public IteratorGenerator(Generator<? extends T> content)
IteratorGenerator
public IteratorGenerator(Generator<? extends T> content,
int min,
int max)
IteratorGenerator
public IteratorGenerator(Generator<? extends T> content,
Generator<Integer> size)
next
public Iterator<T> next()
- Description copied from interface:
Generator
- Generates the next instance.
- Specified by:
next
in interface Generator<Iterator<T>>
- Returns:
- a newly created instance
Copyright © 2011. All Rights Reserved.