Class Int2Long
java.lang.Object
org.apache.commons.rng.simple.internal.Int2Long
- All Implemented Interfaces:
SeedConverter<Integer,
Long>
Converts a
Integer
to an Long
.- Since:
- 1.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Int2Long
public Int2Long()Create an instance.
-
-
Method Details
-
convert
Converts seed from input type to output type.- Specified by:
convert
in interfaceSeedConverter<Integer,
Long> - Parameters:
seed
- Original seed value.- Returns:
- the converted seed value.
-