net.java.quickcheck.generator.support
Class SortedListGenerator<T extends Comparable<T>>

java.lang.Object
  extended by 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>>


Constructor Summary
SortedListGenerator(Generator<T> input)
           
SortedListGenerator(Generator<T> input, Generator<Integer> size)
           
 
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
 

Constructor Detail

SortedListGenerator

public SortedListGenerator(Generator<T> input)

SortedListGenerator

public SortedListGenerator(Generator<T> input,
                           Generator<Integer> size)
Method Detail

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.