Class DecimalFormatter

  • All Implemented Interfaces:
    Formatter<java.lang.Double>, java.util.function.Function<java.lang.Double,​java.lang.String>

    public class DecimalFormatter
    extends java.lang.Object
    implements Formatter<java.lang.Double>
    Formatter for decimal points that depends on settings.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String apply​(java.lang.Double value)  
      • 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.Function

        andThen, compose
    • Constructor Detail

      • DecimalFormatter

        public DecimalFormatter​(PlanConfig config)
    • Method Detail

      • apply

        public java.lang.String apply​(java.lang.Double value)
        Specified by:
        apply in interface java.util.function.Function<java.lang.Double,​java.lang.String>