Class Euclidean2D.LazyHolder

java.lang.Object
org.apache.commons.math3.geometry.euclidean.twod.Euclidean2D.LazyHolder
Enclosing class:
Euclidean2D

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

We use here the Initialization On Demand Holder Idiom.

  • Field Details

    • INSTANCE

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

    • LazyHolder

      private LazyHolder()