Class PointValuePair.DataTransferObject
- java.lang.Object
-
- org.apache.commons.math3.optimization.PointValuePair.DataTransferObject
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- PointValuePair
private static class PointValuePair.DataTransferObject extends java.lang.Object implements java.io.Serializable
Internal class used only for serialization.
-
-
Field Summary
Fields Modifier and Type Field Description private double[]
point
Point coordinates.private static long
serialVersionUID
Serializable UID.private double
value
Value of the objective function at the point.
-
Constructor Summary
Constructors Constructor Description DataTransferObject(double[] point, double value)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.lang.Object
readResolve()
Replace the deserialized data transfer object with aPointValuePair
.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Serializable UID.- See Also:
- Constant Field Values
-
point
private final double[] point
Point coordinates.
-
value
private final double value
Value of the objective function at the point.
-
-
Method Detail
-
readResolve
private java.lang.Object readResolve()
Replace the deserialized data transfer object with aPointValuePair
.- Returns:
- replacement
PointValuePair
-
-