|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.kernel.security.RandomUtil
public class RandomUtil
| Field Summary | |
|---|---|
protected static Random |
random
|
| Constructor Summary | |
|---|---|
RandomUtil()
|
|
| Method Summary | |
|---|---|
static int |
nextInt(int n)
|
static int[] |
nextInts(int n,
int size)
|
static void |
shuffle(Random random,
int[] numbers)
|
static String |
shuffle(Random random,
String s)
|
static void |
shuffle(Random random,
StringBuilder sb)
|
static String |
shuffle(String s)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static Random random
| Constructor Detail |
|---|
public RandomUtil()
| Method Detail |
|---|
public static int nextInt(int n)
public static int[] nextInts(int n,
int size)
public static void shuffle(Random random,
int[] numbers)
public static String shuffle(Random random,
String s)
public static void shuffle(Random random,
StringBuilder sb)
public static String shuffle(String s)
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||