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