net.java.quickcheck.generator.support
Class SubmapGenerator<K,V>
java.lang.Object
net.java.quickcheck.generator.support.SubmapGenerator<K,V>
- All Implemented Interfaces:
- Generator<Map<K,V>>
public class SubmapGenerator<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 |
SubmapGenerator
public SubmapGenerator(Map<K,V> supermap)
SubmapGenerator
public SubmapGenerator(Map<K,V> supermap,
Generator<Integer> sizes)
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.