Class LongArray2IntArray

  • All Implemented Interfaces:
    SeedConverter<long[],​int[]>

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

      • LongArray2IntArray

        public LongArray2IntArray()
    • Method Detail

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