Class ModuloToBigInt

  • All Implemented Interfaces:
    java.util.function.LongFunction<java.math.BigInteger>

    public class ModuloToBigInt
    extends java.lang.Object
    implements java.util.function.LongFunction<java.math.BigInteger>
    Return a BigInteger value as the result of modulo division with the specified divisor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.math.BigInteger apply​(long value)  
      • Methods inherited from class java.lang.Object

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

      • ModuloToBigInt

        public ModuloToBigInt()
      • ModuloToBigInt

        public ModuloToBigInt​(long modulo)
    • Method Detail

      • apply

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