Interface Seed2ArrayConverter<T,​R>

  • Type Parameters:
    T - Input seed type.
    R - Output seed type.
    All Superinterfaces:
    SeedConverter<T,​R>
    All Known Implementing Classes:
    Long2IntArray, Long2LongArray

    public interface Seed2ArrayConverter<T,​R>
    extends SeedConverter<T,​R>
    Seed converter to create an output array type.
    Since:
    1.3
    • Method Detail

      • convert

        R convert​(T 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.