Class Point.Factory

  • Enclosing class:
    Point

    public static final class Point.Factory
    extends java.lang.Object
    Primarily used when constructing test cases and similar. For real world applications you should probably use Point.convert(List, Function) instead.
    • Field Summary

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

      Constructors 
      Constructor Description
      Factory​(int dimensions)  
    • 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

      • myDimensions

        private final int myDimensions
      • myNextID

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

      • Factory

        public Factory​(int dimensions)
    • Method Detail

      • newPoint

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

        public void reset()