Class ModuloToByte

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

    public class ModuloToByte
    extends java.lang.Object
    implements java.util.function.LongFunction<java.lang.Byte>
    Return a byte value as the result of modulo division with the specified divisor.
    • Constructor Summary

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

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

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

      • ModuloToByte

        public ModuloToByte​(long modulo)
    • Method Detail

      • apply

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