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

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


Constructor Summary
SubmapGenerator(Map<K,V> supermap)
           
SubmapGenerator(Map<K,V> supermap, Generator<Integer> sizes)
           
 
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

SubmapGenerator

public SubmapGenerator(Map<K,V> supermap)

SubmapGenerator

public SubmapGenerator(Map<K,V> supermap,
                       Generator<Integer> sizes)
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.