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()
createNumberGenerator
public <T extends java.lang.Number> NonNullGenerator<T> createNumberGenerator(java.lang.Class<T> numberType,
T min,
T max,
T granularity,
boolean unique)
- Specified by:
createNumberGenerator
in interface Distribution
applyTo
public <T> Generator<T> applyTo(Generator<T> source,
boolean unique)
- Specified by:
applyTo
in interface Distribution
Copyright © 2013. All Rights Reserved.