public class PooledBytesRandom extends CommonBytesRandom
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
POOL_SIZE_MULTIPLIER
It is best to make fewer, larger requests to the crypto module to
avoid system call overhead.
|
| 构造器和说明 |
|---|
PooledBytesRandom() |
PooledBytesRandom(int multiplier) |
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
get(Integer size)
基于指定的 size 生成一个 byte[] ,生成的byte[] 的length 不一定等于 size
|
get, getDelegate, getMultiplier, setDelegate, setMultiplierpublic static final int POOL_SIZE_MULTIPLIER
public PooledBytesRandom()
public PooledBytesRandom(int multiplier)
public byte[] get(Integer size)
BytesRandomget 在接口中 Supplier<Integer,byte[]>get 在接口中 BytesRandomget 在类中 CommonBytesRandomCopyright © 2022. All rights reserved.