Class ModuloToInteger

  • All Implemented Interfaces:
    java.util.function.LongFunction<java.lang.Integer>

    public class ModuloToInteger
    extends java.lang.Object
    implements java.util.function.LongFunction<java.lang.Integer>
    Return an integer value as the result of modulo division with the specified divisor.
    • Constructor Summary

      Constructors 
      Constructor Description
      ModuloToInteger​(int modulo)  
    • Method Summary

      Modifier and Type Method Description
      java.lang.Integer apply​(long operand)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ModuloToInteger

        public ModuloToInteger​(int modulo)
    • Method Detail

      • apply

        public java.lang.Integer apply​(long operand)
        Specified by:
        apply in interface java.util.function.LongFunction<java.lang.Integer>