| Modifier and Type | Field and Description |
|---|---|
| private final NamedFactory | |
| private final Random |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Random | |
| public void | fill(byte[]
byte array to be filled. bytes, int index to start filling at. start, int length of segment to fill. len)Implements org. Fill part of bytes with random values. |
| public String | |
| public boolean | |
| public int | random(int
The range upper limit max)Implements org. Returns a pseudo-random uniformly distributed |
| factory | back to summary |
|---|---|
| private final NamedFactory<Random> factory | |
| random | back to summary |
|---|---|
| private final Random random | |
| SingletonRandomFactory | back to summary |
|---|---|
| public SingletonRandomFactory(NamedFactory<Random> factory) | |
| create | back to summary |
|---|---|
| public Random create() Implements org.
| |
| fill | back to summary |
|---|---|
| public void fill(byte[] bytes, int start, int len) Implements org. Doc from org. Fill part of bytes with random values.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements org.
| |
| isSupported | back to summary |
|---|---|
| public boolean isSupported() Implements org.
| |
| random | back to summary |
|---|---|
| public int random(int max) Implements org. Doc from org. Returns a pseudo-random uniformly distributed
| |