|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.x8ing.mc.distribution.RandomDistributionConstant
public class RandomDistributionConstant
Uses the functionality that java provides itself.
Constructor Summary | |
---|---|
RandomDistributionConstant(int rangeMin,
int rangeMax)
|
Method Summary | |
---|---|
double |
getNextRandomNumber()
Returns the the distribution normalized between 0..1 and the the values 0...1. |
int |
getRangeMax()
|
int |
getRangeMin()
|
void |
setRangeMax(int rangeMax)
|
void |
setRangeMin(int rangeMin)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RandomDistributionConstant(int rangeMin, int rangeMax)
Method Detail |
---|
public double getNextRandomNumber()
RandomDistribution
getNextRandomNumber
in interface RandomDistribution
RandomDistribution.getNextRandomNumber()
public int getRangeMax()
public void setRangeMax(int rangeMax)
public int getRangeMin()
public void setRangeMin(int rangeMin)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |