Class ModuloToLong

  • All Implemented Interfaces:
    java.util.function.LongUnaryOperator

    public class ModuloToLong
    extends java.lang.Object
    implements java.util.function.LongUnaryOperator
    Return a long value as the result of modulo division with the specified divisor.
    • Constructor Summary

      Constructors 
      Constructor Description
      ModuloToLong​(long modulo)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long applyAsLong​(long input)  
      • 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 Detail

      • ModuloToLong

        public ModuloToLong​(long modulo)
    • Method Detail

      • applyAsLong

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