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