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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • 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.