Class LongArray2Long

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

    public class LongArray2Long
    extends Object
    implements SeedConverter<long[],​Long>
    Creates a single value by "xor" of all the values in the input array.
    Since:
    1.0
    • Constructor Detail

      • LongArray2Long

        public LongArray2Long()
    • Method Detail

      • convert

        public Long convert​(long[] seed)
        Converts seed from input type to output type.
        Specified by:
        convert in interface SeedConverter<long[],​Long>
        Parameters:
        seed - Original seed value.
        Returns:
        the converted seed value.