net.java.quickcheck.generator
Class CloningMutationGenerator<T,M>

java.lang.Object
  extended by net.java.quickcheck.generator.support.AbstractTransformerGenerator<T,T>
      extended by net.java.quickcheck.generator.MutationGenerator<T,M>
          extended by net.java.quickcheck.generator.CloningMutationGenerator<T,M>
Type Parameters:
T - Type of the generated value and prototype. This type has to be serializable.
M - Type of the mutation value.
All Implemented Interfaces:
Generator<T>

public abstract class CloningMutationGenerator<T,M>
extends MutationGenerator<T,M>

MutationGenerator that clones the prototype object with object serialization.


Constructor Summary
CloningMutationGenerator(T prototype, Generator<M> mutationValueGenerator)
           
 
Method Summary
 
Methods inherited from class net.java.quickcheck.generator.MutationGenerator
mutate, transform
 
Methods inherited from class net.java.quickcheck.generator.support.AbstractTransformerGenerator
next
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CloningMutationGenerator

public CloningMutationGenerator(T prototype,
                                Generator<M> mutationValueGenerator)


Copyright © 2011. All Rights Reserved.