com.liferay.portal.kernel.security
Class RandomUtil
java.lang.Object
com.liferay.portal.kernel.security.RandomUtil
public class RandomUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
random
protected static Random random
RandomUtil
public RandomUtil()
nextInt
public static int nextInt(int n)
nextInts
public static int[] nextInts(int n,
int size)
shuffle
public static void shuffle(Random random,
int[] numbers)
shuffle
public static String shuffle(Random random,
String s)
shuffle
public static void shuffle(Random random,
StringBuilder sb)
shuffle
public static String shuffle(String s)