net.java.quickcheck.generator.support
Class FixedValuesGenerator<T>
java.lang.Object
net.java.quickcheck.generator.support.FixedValuesGenerator<T>
- All Implemented Interfaces:
- Generator<T>
public class FixedValuesGenerator<T>
- extends Object
- implements Generator<T>
Method Summary |
T |
next()
Generates the next instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FixedValuesGenerator
public FixedValuesGenerator()
FixedValuesGenerator
public FixedValuesGenerator(T value)
FixedValuesGenerator
public FixedValuesGenerator(Collection<T> values)
next
public T next()
- Description copied from interface:
Generator
- Generates the next instance.
- Specified by:
next
in interface Generator<T>
- Returns:
- a newly created instance
Copyright © 2011. All Rights Reserved.