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