Class Mod

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

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

      Constructors 
      Constructor Description
      Mod​(int modulo)  
    • 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 Detail

      • Mod

        public Mod​(int modulo)
    • Method Detail

      • applyAsInt

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