public final class Ranges extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Ranges.Type |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Comparable<? super T>> |
checkRange(Ranges.Type type,
T min,
T max) |
static BigInteger |
choose(SourceOfRandomness random,
BigInteger min,
BigInteger max) |
static long |
choose(SourceOfRandomness random,
long min,
long max) |
public static <T extends Comparable<? super T>> int checkRange(Ranges.Type type, T min, T max)
public static BigInteger choose(SourceOfRandomness random, BigInteger min, BigInteger max)
public static long choose(SourceOfRandomness random, long min, long max)
Copyright © 2019. All rights reserved.