Package org.ojalgo.data.cluster
Class Point.Factory
- java.lang.Object
-
- org.ojalgo.data.cluster.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 usePoint.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()
-
-
-
Method Detail
-
newPoint
public Point newPoint(float... coordinates)
-
reset
public void reset()
-
-