Class AddHashRange

java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.from_long.to_int.AddHashRange
All Implemented Interfaces:
java.util.function.LongToIntFunction

public class AddHashRange
extends java.lang.Object
implements java.util.function.LongToIntFunction
  • Constructor Summary

    Constructors 
    Constructor Description
    AddHashRange​(int maxValue)  
    AddHashRange​(int minValue, int maxValue)  
  • Method Summary

    Modifier and Type Method Description
    int applyAsInt​(long operand)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AddHashRange

      public AddHashRange​(int maxValue)
    • AddHashRange

      public AddHashRange​(int minValue, int maxValue)
  • Method Details

    • applyAsInt

      public int applyAsInt​(long operand)
      Specified by:
      applyAsInt in interface java.util.function.LongToIntFunction