Class Euclidean2D.LazyHolder

  • Enclosing class:
    Euclidean2D

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

    We use here the Initialization On Demand Holder Idiom.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static Euclidean2D INSTANCE
      Cached field instance.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private LazyHolder()  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • INSTANCE

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

      • LazyHolder

        private LazyHolder()