|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jext.dawn.Function
org.jext.dawn.util.RandomFunction
public class RandomFunction
Returns a random number.
Field Summary | |
---|---|
static java.util.Random |
_random
|
Constructor Summary | |
---|---|
RandomFunction()
|
Method Summary | |
---|---|
void |
invoke(DawnParser parser)
Executes the function. |
Methods inherited from class org.jext.dawn.Function |
---|
getHelp, getName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.util.Random _random
Constructor Detail |
---|
public RandomFunction()
Method Detail |
---|
public void invoke(DawnParser parser) throws DawnRuntimeException
Function
DawnParser
given as parameter.
invoke
in class Function
parser
- The DawnParser
which inoked the function
DawnRuntimeException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |