Module ojalgo

Class Point.Factory

  • Enclosing class:
    Point

    public static final class Point.Factory
    extends java.lang.Object
    Simple factory that generates consecutive ids and ensures consistent dimensionality.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.concurrent.atomic.AtomicInteger myNextID  
    • Constructor Summary

      Constructors 
      Constructor Description
      Factory()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Point newPoint​(float... coordinates)  
      void reset()  
      • Methods inherited from class java.lang.Object

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

      • myNextID

        private final java.util.concurrent.atomic.AtomicInteger myNextID
    • Constructor Detail

      • Factory

        public Factory()
    • Method Detail

      • newPoint

        public Point newPoint​(float... coordinates)
      • reset

        public void reset()