org.databene.benerator.distribution
Class AbstractWeightFunction
java.lang.Object
org.databene.benerator.distribution.AbstractWeightFunction
- All Implemented Interfaces:
- Distribution, Weight, WeightFunction
- Direct Known Subclasses:
- ConstantFunction, DiscreteFunction, ExponentialFunction, GaussianFunction
public abstract class AbstractWeightFunction
- extends java.lang.Object
- implements WeightFunction
Abstract implementation of the WeightFunction interface.
Created at 30.06.2009 07:13:49
- Since:
- 0.6.0
- Author:
- Volker Bergmann
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractWeightFunction
public AbstractWeightFunction()
createGenerator
public <T extends java.lang.Number> Generator<T> createGenerator(java.lang.Class<T> numberType,
T min,
T max,
T precision,
boolean unique)
- Specified by:
createGenerator in interface Distribution
applyTo
public <T> Generator<T> applyTo(Generator<T> source,
boolean unique)
- Specified by:
applyTo in interface Distribution
Copyright © 2011. All Rights Reserved.