Class IntArray2Int
- java.lang.Object
-
- org.apache.commons.rng.simple.internal.IntArray2Int
-
- All Implemented Interfaces:
SeedConverter<int[],Integer>
public class IntArray2Int extends Object implements SeedConverter<int[],Integer>
Creates a single value by "xor" of all the values in the input array.- Since:
- 1.0
-
-
Constructor Summary
Constructors Constructor Description IntArray2Int()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
convert(int[] seed)
Converts seed from input type to output type.
-
-
-
Constructor Detail
-
IntArray2Int
public IntArray2Int()
-
-
Method Detail
-
convert
public Integer convert(int[] seed)
Converts seed from input type to output type.- Specified by:
convert
in interfaceSeedConverter<int[],Integer>
- Parameters:
seed
- Original seed value.- Returns:
- the converted seed value.
-
-