Differences between revisions 41 and 42
Revision 41 as of 2009-08-23 19:46:56
Size: 693
Editor: AlfonsoReyes
Comment:
Revision 42 as of 2009-08-23 19:49:16
Size: 720
Editor: AlfonsoReyes
Comment:
Deletions are marked like this. Additions are marked like this.
Line 14: Line 14:

|| line 1[[BR]]line 2||

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 { BR private Control myControl; BR

1. class CalcComplexPlotApp(Calculation): BR

||

   1 from colors import palette
   2 palette.colorize('java')

||

line 1BRline 2

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