public class IntArray2LongArray extends Object implements SeedConverter<int[],long[]>
long[] from an int[].
Note: From version 1.5 this conversion uses the int bytes to compose the long bytes
in little-endian order.
The output long[] can be converted back using LongArray2IntArray.
| Constructor and Description |
|---|
IntArray2LongArray() |
| Modifier and Type | Method and Description |
|---|---|
long[] |
convert(int[] seed)
Converts seed from input type to output type.
|
public IntArray2LongArray()
public long[] convert(int[] seed)
convert in interface SeedConverter<int[],long[]>seed - Original seed value.Copyright © 2016–2022 The Apache Software Foundation. All rights reserved.