|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.liferay.util.MathUtil
Constructor Summary | |
MathUtil()
|
Method Summary | |
static int |
factorial(int x)
|
static double |
format(double x,
int max,
int min)
|
static int[] |
generatePrimes(int max)
|
static boolean |
isEven(int x)
|
static boolean |
isOdd(int x)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MathUtil()
Method Detail |
public static int factorial(int x)
public static double format(double x, int max, int min)
public static boolean isEven(int x)
public static boolean isOdd(int x)
public static int[] generatePrimes(int max)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |