public class RandomAlgorithms extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RandomAlgorithms.Selector
Iteratively pick random numbers from pool 0..n-1.
|
| Constructor and Description |
|---|
RandomAlgorithms() |
| Modifier and Type | Method and Description |
|---|---|
static int[] |
select(int m,
int n,
Random rand)
Selecting m random integers from 0..n-1.
|
public static int[] select(int m,
int n,
Random rand)
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.