Interface Seed2ArrayConverter<IN,OUT>

Type Parameters:
IN - Input seed type.
OUT - Output seed type.
All Superinterfaces:
SeedConverter<IN,OUT>
All Known Implementing Classes:
Long2IntArray, Long2LongArray

public interface Seed2ArrayConverter<IN,OUT> extends SeedConverter<IN,OUT>
Seed converter to create an output array type.
Since:
1.3
  • Method Summary

    Modifier and Type
    Method
    Description
    convert(IN seed, int outputSize)
    Converts seed from input type to output type.

    Methods inherited from interface org.apache.commons.rng.simple.internal.SeedConverter

    convert
  • Method Details

    • convert

      OUT convert(IN seed, int outputSize)
      Converts seed from input type to output type. The output type is expected to be an array.
      Parameters:
      seed - Original seed value.
      outputSize - Output size.
      Returns:
      the converted seed value.