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 a int[] from a byte[].
Since:
1.0
  • 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 interface SeedConverter<byte[],int[]>
      Parameters:
      seed - Original seed value.
      Returns:
      the converted seed value.