public class Long2LongArray extends Object implements SeedConverter<Long,long[]>
Long
value to seed a SplitMix64
RNG and
create a long[]
with the requested number of random
values.Constructor and Description |
---|
Long2LongArray(int size) |
Modifier and Type | Method and Description |
---|---|
long[] |
convert(Long seed)
Converts seed from input type to output type.
|
public Long2LongArray(int size)
size
- Size of the output array.public long[] convert(Long seed)
convert
in interface SeedConverter<Long,long[]>
seed
- Original seed value.Copyright © 2016 The Apache Software Foundation. All rights reserved.