public static class RandomAlgorithms.Selector
extends java.lang.Object
| Constructor | Description |
|---|---|
Selector(int n,
double selPcnt,
java.util.Random rand) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
getPoolSize() |
Get the remaining random number pool size.
|
int |
next() |
Select the next random number.
|
void |
reset() |
Reset the selector for reuse usage.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.