Class Mod

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

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

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

      All Methods Instance Methods Concrete Methods 
      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 Detail

      • Mod

        public Mod​(int modulo)
    • Method Detail

      • applyAsInt

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