Class AddCycleRange

java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.unary_int.AddCycleRange
All Implemented Interfaces:
java.util.function.IntUnaryOperator

public class AddCycleRange
extends java.lang.Object
implements java.util.function.IntUnaryOperator
Adds a cycle range to the input, producing an increasing sawtooth-like output.
  • Constructor Summary

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

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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.function.IntUnaryOperator

    andThen, compose
  • Constructor Details

  • Method Details

    • applyAsInt

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