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