net.java.quickcheck.generator.support
Class SubsetGenerator<T>
java.lang.Object
net.java.quickcheck.generator.support.SubsetGenerator<T>
- All Implemented Interfaces:
- Generator<Set<T>>
public class SubsetGenerator<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 |
SubsetGenerator
public SubsetGenerator(Set<T> superset,
Generator<Integer> size)
SubsetGenerator
public SubsetGenerator(Set<T> superset)
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.