org.databene.benerator.distribution.function
Class ConstantFunction
java.lang.Object
org.databene.benerator.distribution.AbstractWeightFunction
org.databene.benerator.distribution.function.ConstantFunction
- All Implemented Interfaces:
- Distribution, Weight, WeightFunction
public class ConstantFunction
- extends AbstractWeightFunction
Returns a constant value, independent of the argument.
Created: 18.06.2006 15:30:18
Method Summary |
java.lang.String |
toString()
|
double |
value(double param)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ConstantFunction
public ConstantFunction()
ConstantFunction
public ConstantFunction(double value)
value
public double value(double param)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2013. All Rights Reserved.