Class ByteArray2IntArray
java.lang.Object
org.apache.commons.rng.simple.internal.ByteArray2IntArray
- All Implemented Interfaces:
SeedConverter<byte[],
int[]>
Creates a
int[]
from a byte[]
.- Since:
- 1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint[]
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:
convert
in interfaceSeedConverter<byte[],
int[]> - Parameters:
seed
- Original seed value.- Returns:
- the converted seed value.
-