Class HashRange

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

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

    Constructors 
    Constructor Description
    HashRange​(int width)  
    HashRange​(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

    • HashRange

      public HashRange​(int width)
    • HashRange

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

    • applyAsInt

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