public Map<String, double[][]> getMatrixMap()
{
return this.matrixMap;
}
public void setMatrixMap(Map<String, double[][]> matrixMap)
{
this.matrixMap = matrixMap;
}
The tesla compiler generated the source code that threw some compile errors:
BomSerializer.java:2469: error: incompatible types
[javac] double[] v = new java.lang.Double[size];
[javac] ^
[javac] required: double[]
[javac] found: Double[]
[javac]
BomSerializer.java:2687: error: incompatible types
[javac] double[][] v = new java.lang.Double[size][];
[javac] ^
[javac] required: double[][]
[javac] found: Double[][]
Our class added this type of field and corresponding setter and getter methods:
transient private Map<String, double[][]> matrixMap;
public Map<String, double[][]> getMatrixMap() { return this.matrixMap; }
public void setMatrixMap(Map<String, double[][]> matrixMap) { this.matrixMap = matrixMap; }
The tesla compiler generated the source code that threw some compile errors: BomSerializer.java:2469: error: incompatible types [javac] double[] v = new java.lang.Double[size]; [javac] ^ [javac] required: double[] [javac] found: Double[] [javac]
BomSerializer.java:2687: error: incompatible types [javac] double[][] v = new java.lang.Double[size][]; [javac] ^ [javac] required: double[][] [javac] found: Double[][]
Please investigate.