net.java.quickcheck.generator.support
Class MapGenerator<K,V>

java.lang.Object
  extended by net.java.quickcheck.generator.support.MapGenerator<K,V>
All Implemented Interfaces:
Generator<Map<K,V>>

public class MapGenerator<K,V>
extends Object
implements Generator<Map<K,V>>


Constructor Summary
MapGenerator(Generator<K> keys, Generator<V> values)
           
MapGenerator(Generator<K> keys, Generator<V> values, Generator<Integer> size)
           
 
Method Summary
 Map<K,V> 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

MapGenerator

public MapGenerator(Generator<K> keys,
                    Generator<V> values)

MapGenerator

public MapGenerator(Generator<K> keys,
                    Generator<V> values,
                    Generator<Integer> size)
Method Detail

next

public Map<K,V> next()
Description copied from interface: Generator
Generates the next instance.

Specified by:
next in interface Generator<Map<K,V>>
Returns:
a newly created instance


Copyright © 2011. All Rights Reserved.