Class ToShort

java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.conversions.from_long.ToShort
All Implemented Interfaces:
LongFunction<Short>

public class ToShort extends Object implements LongFunction<Short>
Convert the input value to a short.
  • Constructor Details

    • ToShort

      public ToShort()
    • ToShort

      public ToShort(int wrapat)
      This form allows for limiting the short values at a lower limit than Short.MAX_VALUE.
      Parameters:
      wrapat - The maximum value to return.
  • Method Details