@Deprecated public class RandomnessHandler extends Object
| Constructor and Description | 
|---|
| RandomnessHandler(String seed,
                 String isRandom)Deprecated.  Constructor, which for convenience takes the arguments as strings to be converted, rather than
 the appropriate primitives. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | isRandom()Deprecated.  | 
| boolean | nextBoolean()Deprecated.  | 
| int | nextInt(int limit)Deprecated.  | 
| String | toString()Deprecated.  Debugging information important so that we know what the tests were doing. | 
public RandomnessHandler(String seed, String isRandom)
seed - The seed with which to initialise randomness.  Can be null, in which case a seed will be created
                 based on current time.isRandom - if not null and not true then the handler produced will be entirely non-random.public String toString()
public boolean nextBoolean()
public int nextInt(int limit)
Random.nextInt(int)public boolean isRandom()
Copyright © 2003–2022 Atlassian. All rights reserved.