Class LongArray2Long

java.lang.Object
org.apache.commons.rng.simple.internal.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 Details

    • LongArray2Long

      public LongArray2Long()
  • Method Details

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