Differences between revisions 29 and 30
Revision 29 as of 2009-08-23 19:36:18
Size: 568
Editor: AlfonsoReyes
Comment:
Revision 30 as of 2009-08-23 19:36:44
Size: 570
Editor: AlfonsoReyes
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
|| Declaring a class type || public class CalcComplexPlotApp implements Calculation { || 1. class CalcComplexPlotApp(Calculation): || || Declaring a class type || public class ~CalcComplexPlotApp implements Calculation { || 1. class ~CalcComplexPlotApp(Calculation): ||

Describe ComparisonJavaJython here.

Description

In Java

In Jython

array of doubles

xCoord = Double[25]

xCoord = jarray.zeros(25, "d")

Size of array

mx = data.length;

mx = len(data)

array assignment

double re = reFun.evaluate(new double[] {data[i][j][0], data[i][j][1]});

re = self.reFun.evaluate([data[i][j][0], data[i][j][1]])

Declaring a class type

public class ~CalcComplexPlotApp implements Calculation {

1. class ~CalcComplexPlotApp(Calculation):

ComparisonJavaJython (last edited 2009-08-23 20:01:21 by AlfonsoReyes)