Package adams.data.random
Interface RandomDoubleRangeGenerator<T extends Number>
-
- Type Parameters:
T
- the type of random number to return
- All Superinterfaces:
Destroyable
,OptionHandler
,RandomNumberGenerator<T>
,ShallowCopySupporter<RandomNumberGenerator>
public interface RandomDoubleRangeGenerator<T extends Number> extends RandomNumberGenerator<T>
Interface for random number generators that support returning random doubles within a certain range.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getMaxValue()
Returns the maximum value of the numbers to generate.double
getMinValue()
Returns the minimum value of the numbers to generate.String
maxValueTipText()
Returns the tip text for this property.String
minValueTipText()
Returns the tip text for this property.void
setMaxValue(double value)
Sets the maximum value of the numbers to generate.void
setMinValue(double value)
Sets the minimum value of the numbers to generate.-
Methods inherited from interface adams.core.Destroyable
destroy
-
Methods inherited from interface adams.core.option.OptionHandler
cleanUpOptions, defineOptions, getOptionManager, toCommandLine
-
Methods inherited from interface adams.data.random.RandomNumberGenerator
next, reset
-
Methods inherited from interface adams.core.ShallowCopySupporter
shallowCopy, shallowCopy
-
-
-
-
Method Detail
-
setMinValue
void setMinValue(double value)
Sets the minimum value of the numbers to generate.- Parameters:
value
- the minimum
-
getMinValue
double getMinValue()
Returns the minimum value of the numbers to generate.- Returns:
- the minimum
-
minValueTipText
String minValueTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setMaxValue
void setMaxValue(double value)
Sets the maximum value of the numbers to generate.- Parameters:
value
- the maximum
-
getMaxValue
double getMaxValue()
Returns the maximum value of the numbers to generate.- Returns:
- the maximum
-
maxValueTipText
String maxValueTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
-