Class HashedLineToInt
- java.lang.Object
-
- io.virtdata.basicsmappers.from_long.to_int.HashedLineToInt
-
- All Implemented Interfaces:
java.util.function.LongToIntFunction
public class HashedLineToInt extends java.lang.Object implements java.util.function.LongToIntFunctionReturn a pseudo-randomly selected integer value from a file of numeric values. Each line in the file must contain one parsable integer value.
-
-
Constructor Summary
Constructors Constructor Description HashedLineToInt(java.lang.String filename)
-
Method Summary
Modifier and Type Method Description intapplyAsInt(long value)java.lang.StringtoString()
-