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 Summary
Constructors Constructor Description LongArray2Long()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
convert(long[] seed)
Converts seed from input type to output type.
-
-
-
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 interfaceSeedConverter<long[],Long>
- Parameters:
seed
- Original seed value.- Returns:
- the converted seed value.
-
-