Class CycleRange

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

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

    Constructors 
    Constructor Description
    CycleRange​(int maxValue)  
    CycleRange​(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

    • CycleRange

      public CycleRange​(int maxValue)
    • CycleRange

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

    • applyAsInt

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