Class ByteArray2IntArray
- java.lang.Object
-
- org.apache.commons.rng.simple.internal.ByteArray2IntArray
-
- All Implemented Interfaces:
SeedConverter<byte[],int[]>
public class ByteArray2IntArray extends Object implements SeedConverter<byte[],int[]>
Creates aint[]
from abyte[]
.- Since:
- 1.0
-
-
Constructor Summary
Constructors Constructor Description ByteArray2IntArray()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int[]
convert(byte[] seed)
Converts seed from input type to output type.
-
-
-
Constructor Detail
-
ByteArray2IntArray
public ByteArray2IntArray()
-
-
Method Detail
-
convert
public int[] convert(byte[] seed)
Converts seed from input type to output type.- Specified by:
convert
in interfaceSeedConverter<byte[],int[]>
- Parameters:
seed
- Original seed value.- Returns:
- the converted seed value.
-
-