|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--brf.j2me.dynaworks.util.Math
The Math class provides static mathematical methods.
| Constructor Summary | |
Math()
|
|
| Method Summary | |
static int |
abs(int num)
get the absolute value of a number. |
static int |
max(int v1,
int v2)
get the larger value of two numbers. |
static int |
min(int v1,
int v2)
get the smaller value of two numbers. |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public Math()
| Method Detail |
public static int min(int v1,
int v2)
v1 - int - first valuev2 - int - second value
public static int max(int v1,
int v2)
v1 - int - first valuev2 - int - second valuepublic static int abs(int num)
num - int - number
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||