Class IntArray2LongArray

java.lang.Object
org.apache.commons.rng.simple.internal.IntArray2LongArray
All Implemented Interfaces:
SeedConverter<int[],​long[]>

public class IntArray2LongArray
extends java.lang.Object
implements SeedConverter<int[],​long[]>
Creates a long[] from an int[].
Since:
1.0
  • Constructor Summary

    Constructors 
    Constructor Description
    IntArray2LongArray()  
  • Method Summary

    Modifier and Type Method Description
    long[] convert​(int[] 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 long[] convert​(int[] seed)
      Converts seed from input type to output type.
      Specified by:
      convert in interface SeedConverter<int[],​long[]>
      Parameters:
      seed - Original seed value.
      Returns:
      the converted seed value.