Class RandomLineToInt
java.lang.Object
io.nosqlbench.virtdata.library.random.RandomLineToInt
- All Implemented Interfaces:
java.util.function.LongToIntFunction
public class RandomLineToInt
extends java.lang.Object
implements java.util.function.LongToIntFunction
-
Constructor Summary
Constructors Constructor Description RandomLineToInt(java.lang.String filename)RandomLineToInt(java.lang.String filename, long seed) -
Method Summary
Modifier and Type Method Description intapplyAsInt(long value)java.lang.StringtoString()
-
Constructor Details
-
RandomLineToInt
public RandomLineToInt(java.lang.String filename) -
RandomLineToInt
public RandomLineToInt(java.lang.String filename, long seed)
-
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
applyAsInt
public int applyAsInt(long value)- Specified by:
applyAsIntin interfacejava.util.function.LongToIntFunction
-