Class ToInt

java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.conversions.from_long.ToInt
All Implemented Interfaces:
LongToIntFunction

public class ToInt extends Object implements LongToIntFunction
Convert the input value to an int with long modulus remainder. If the scale is chosen, then the value is wrapped at this value. Otherwise, Integer.MAX_VALUE is used.
  • Constructor Details

    • ToInt

      public ToInt(int scale)
    • ToInt

      public ToInt()
  • Method Details