|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Whoever able to provide a basic random generation functionnality
Method Summary | |
int |
getNextInt()
Returns the next pseudorandom, uniformly distributed int
value from this random number generator's sequence. |
int |
getNextInt(int n)
Returns an integer drawn uniformly from 0 to n-1. |
Method Detail |
public int getNextInt()
int
value from this random number generator's sequence. The general
contract of nextInt is that one int value is
pseudorandomly generated and returned. All 232
possible int values are produced with
(approximately) equal probability.
int
value from this random number generator's sequence.public int getNextInt(int n)
|
![]() |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |