public class TestRng extends Object
Constructor and Description |
---|
TestRng(String seed)
Create a new random number generator, seeded by a string.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
nextBytes(int cnt)
Get the next
cnt bytes of random data. |
int |
nextInt()
Next int
|
public TestRng(String seed)
seed
- seed to bootstrap, usually this is the test method name.Copyright © 2020 Eclipse JGit Project. All rights reserved.