Class LongArray2IntArray

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

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

    Constructors 
    Constructor Description
    LongArray2IntArray()  
  • Method Summary

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