|
JTR 5.0 API Documentation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjtr.lang.functions.impl.BaseFunction
jtr.lang.functions.impl.UniformInt
public class UniformInt
Implementation of the uniform-int distribution.
Constructor Summary | |
---|---|
UniformInt(java.lang.String[] actualParameters)
|
Method Summary | |
---|---|
protected java.lang.String |
getErrorMsg()
An error message that must be provided to the user. |
protected int |
getMaxNumberOfArguments()
Returns the maximum number of expected parameters. |
protected int |
getMinNumberOfArguments()
Returns the minimum number of expected parameters. |
java.lang.Integer |
value()
Returns the value produced by the function. |
Methods inherited from class jtr.lang.functions.impl.BaseFunction |
---|
checkPreconditions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UniformInt(java.lang.String[] actualParameters)
Method Detail |
---|
public java.lang.Integer value()
value
in interface IStatFunction
protected int getMinNumberOfArguments()
BaseFunction
getMinNumberOfArguments
in class BaseFunction
protected int getMaxNumberOfArguments()
BaseFunction
getMaxNumberOfArguments
in class BaseFunction
protected java.lang.String getErrorMsg()
BaseFunction
getErrorMsg
in class BaseFunction
|
The JTR Project is licensed under GPL version 2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |