net.java.quickcheck.generator.support
Class MapGenerator<K,V>
java.lang.Object
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>>
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 |
MapGenerator
public MapGenerator(Generator<K> keys,
Generator<V> values)
MapGenerator
public MapGenerator(Generator<K> keys,
Generator<V> values,
Generator<Integer> size)
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.