| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ws4d.java.util.Math
public final class Math
Some maths functions missing on CLDC.
| Constructor Summary | |
|---|---|
Math()
 | 
|
| Method Summary | |
|---|---|
static java.util.Random | 
getRandom()
Returns the Random generated by MathUtil.  | 
static int | 
getRandomPortNumber()
Generates a random port number between 1025 and 65535.  | 
static int | 
nextInt()
Returns a random integer value.  | 
static int | 
nextInt(int max)
Returns a random value in the range [0, max[.  | 
static int | 
nextInt(int min,
        int max)
Returns a random value in the range [min, max[.  | 
static int | 
pow(int a,
    int b)
 | 
| Methods inherited from class java.lang.Object | 
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public Math()
| Method Detail | 
|---|
public static int nextInt(int min,
                          int max)
min - The lower bound. Inclusive.max - The upper bound. Exclusive.
public static int nextInt(int max)
max - The upper bound. Exclusive.
public static int nextInt()
public static int getRandomPortNumber()
public static java.util.Random getRandom()
Random;
public static int pow(int a,
                      int b)
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||