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