Class Div

java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.from_long.to_long.Div
All Implemented Interfaces:
java.util.function.LongUnaryOperator

public class Div
extends java.lang.Object
implements java.util.function.LongUnaryOperator
Divide the operand by a fixed value and return the result.
  • Constructor Summary

    Constructors 
    Constructor Description
    Div​(long divisor)  
  • Method Summary

    Modifier and Type Method Description
    long applyAsLong​(long 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.LongUnaryOperator

    andThen, compose
  • Constructor Details

    • Div

      public Div​(long divisor)
  • Method Details

    • applyAsLong

      public long applyAsLong​(long operand)
      Specified by:
      applyAsLong in interface java.util.function.LongUnaryOperator