|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.databene.benerator.sample.WeightedSample<E>
public class WeightedSample<E>
Represents a single sample value for a generator.
The sample value may have an additional weight information.
Created: 07.06.2006 19:05:13
| Constructor Summary | |
|---|---|
WeightedSample(E value,
double weight)
Initializes the Sample to the specified value and weight |
|
| Method Summary | |
|---|---|
E |
getValue()
Returns the value property |
double |
getWeight()
Returns the weight property value |
void |
setValue(E value)
Sets the weight property |
void |
setWeight(double weight)
Sets the weight property value |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WeightedSample(E value,
double weight)
| Method Detail |
|---|
public E getValue()
weightpublic void setValue(E value)
weightpublic double getWeight()
weightpublic void setWeight(double weight)
weightpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||