Class Sphere1D.LazyHolder

java.lang.Object
org.apache.commons.math3.geometry.spherical.oned.Sphere1D.LazyHolder
Enclosing class:
Sphere1D

private static class Sphere1D.LazyHolder extends Object
Holder for the instance.

We use here the Initialization On Demand Holder Idiom.

  • Field Details

    • INSTANCE

      private static final Sphere1D INSTANCE
      Cached field instance.
  • Constructor Details

    • LazyHolder

      private LazyHolder()