|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.adom.jade.kernel.SC
This class is a kind of hack to enhance the readability of the JADE source code: certain specific calls get a bit longish due to the object-oriented structure of JADE. The static helper methods in this class make it easier to access certain common methods by providing static access points that hide the more elaborate dynamic calls.
BTW, SC is an acronym for shortcuts.
| Method Summary | |
|---|---|
static int |
random(int upper)
Returns a random number in the given range of 0... |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static final int random(int upper)
0...upper-1.
upper - the upper limit of the random number; a number
in the range of 0...upper-1
will be created
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||