Class Sphere2D.LazyHolder

java.lang.Object
org.apache.commons.math3.geometry.spherical.twod.Sphere2D.LazyHolder
Enclosing class:
Sphere2D

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

We use here the Initialization On Demand Holder Idiom.

  • Field Details

    • INSTANCE

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

    • LazyHolder

      private LazyHolder()