private static class PointValuePair.DataTransferObject
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private double[] |
point
Point coordinates.
|
private static long |
serialVersionUID
Serializable UID.
|
private double |
value
Value of the objective function at the point.
|
Constructor and Description |
---|
DataTransferObject(double[] point,
double value)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
private java.lang.Object |
readResolve()
Replace the deserialized data transfer object with a
PointValuePair . |
private static final long serialVersionUID
private final double[] point
private final double value
public DataTransferObject(double[] point, double value)
point
- Point coordinates.value
- Value of the objective function at the point.private java.lang.Object readResolve()
PointValuePair
.PointValuePair
Copyright (c) 2003-2016 Apache Software Foundation