| Package | Description |
|---|---|
| java.math |
Provides classes for performing arbitrary-precision integer
arithmetic (
BigInteger) and arbitrary-precision decimal
arithmetic (BigDecimal). |
| java.util |
Back 2 Browser Bytecode Translator
Copyright (C) 2012 Jaroslav Tulach
|
| java.util.concurrent |
Utility classes commonly useful in concurrent programming.
|
| Modifier and Type | Method and Description |
|---|---|
static BigInteger |
BigInteger.probablePrime(int bitLength,
Random rnd)
Returns a positive BigInteger that is probably prime, with the
specified bitLength.
|
| Constructor and Description |
|---|
BigInteger(int bitLength,
int certainty,
Random rnd)
Constructs a randomly generated positive BigInteger that is probably
prime, with the specified bitLength.
|
BigInteger(int numBits,
Random rnd)
Constructs a randomly generated BigInteger, uniformly distributed over
the range 0 to (2
numBits - 1), inclusive. |
| Modifier and Type | Method and Description |
|---|---|
static void |
Collections.shuffle(List<?> list,
Random rnd)
Randomly permute the specified list using the specified source of
randomness.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ThreadLocalRandom
A random number generator isolated to the current thread.
|
Copyright © 2017 API Design. All Rights Reserved.