Class Constants


  • class Constants
    extends java.lang.Object
    Utility class providing numerical constants such as Pi
    Since:
    2.0
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      (package private) static class  Constants.Pi
      Pi calculation with Machin's formula.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.util.logging.Logger logger  
      private static java.util.Map<java.lang.Integer,​java.math.BigDecimal> piCache
      Memoization of Pi by number-of-digits.
    • Constructor Summary

      Constructors 
      Constructor Description
      Constants()  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • logger

        private static final java.util.logging.Logger logger
      • piCache

        private static final java.util.Map<java.lang.Integer,​java.math.BigDecimal> piCache
        Memoization of Pi by number-of-digits.
    • Constructor Detail

      • Constants

        Constants()