net.java.quickcheck.generator.support
Class IteratorGenerator<T>

java.lang.Object
  extended by net.java.quickcheck.generator.support.IteratorGenerator<T>
All Implemented Interfaces:
Generator<Iterator<T>>

public class IteratorGenerator<T>
extends Object
implements Generator<Iterator<T>>


Field Summary
static int MAX_SIZE
           
static int MIN_SIZE
           
 
Constructor Summary
IteratorGenerator(Generator<? extends T> content)
           
IteratorGenerator(Generator<? extends T> content, Generator<Integer> size)
           
IteratorGenerator(Generator<? extends T> content, int min, int max)
           
 
Method Summary
 Iterator<T> next()
          Generates the next instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

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)
Method Detail

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.