Package org.apache.commons.math3.optim
Class PointVectorValuePair.DataTransferObject
java.lang.Object
org.apache.commons.math3.optim.PointVectorValuePair.DataTransferObject
- All Implemented Interfaces:
Serializable
- Enclosing class:
PointVectorValuePair
Internal class used only for serialization.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final double[]
Point coordinates.private static final long
Serializable UID.private final double[]
Value of the objective function at the point. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate Object
Replace the deserialized data transfer object with aPointValuePair
.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerializable UID.- See Also:
-
point
private final double[] pointPoint coordinates. -
value
private final double[] valueValue of the objective function at the point.
-
-
Constructor Details
-
DataTransferObject
DataTransferObject(double[] point, double[] value) Simple constructor.- Parameters:
point
- Point coordinates.value
- Value of the objective function at the point.
-
-
Method Details
-
readResolve
Replace the deserialized data transfer object with aPointValuePair
.- Returns:
- replacement
PointValuePair
-