|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectweb.carol.cmi.SecureRandom
| Constructor Summary | |
SecureRandom()
|
|
| Method Summary | |
static int |
getInt()
|
static int |
getInt(int n)
Returns a random number between 0 (inclusive) and the specified value (exclusive). |
static long |
getLong()
|
static void |
setSeed(byte[] rs)
|
static void |
setSeed(long rs)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SecureRandom()
| Method Detail |
public static void setSeed(long rs)
public static void setSeed(byte[] rs)
public static int getInt()
public static int getInt(int n)
n - the bound on the random number. Must be positive.
public static long getLong()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||