Class ModuloToBigDecimal

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

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

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

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

      • ModuloToBigDecimal

        public ModuloToBigDecimal()
      • ModuloToBigDecimal

        public ModuloToBigDecimal​(long modulo)
    • Method Detail

      • apply

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