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