Differences between revisions 54 and 55
Revision 54 as of 2009-08-23 19:58:07
Size: 698
Editor: AlfonsoReyes
Comment:
Revision 55 as of 2009-08-23 19:58:44
Size: 712
Editor: AlfonsoReyes
Comment:
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:
||table {{{#!python from colors import palette palette.colorize('python') }}} || end table|| ||table {{{#!python from colors <<BR>> import palette palette.colorize('python') <<BR>> }}} || end table||

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

class CalcComplexPlotApp(Calculation):

table #!python from colors <<BR>> import palette palette.colorize('python') <<BR>> 

end table

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