2005-01-10 | Paul Boddie | file changeset files shortlog | Removed the special base classes and introduced retrieval of all classes including java.lang.Object and java.lang.Exception, thus requiring the special java package to be specified on the PYTHONPATH. |
paul@67 | 1 | public class MultiArrayTest { |
paul@67 | 2 | public int[][] multiArray; |
paul@67 | 3 | |
paul@67 | 4 | public MultiArrayTest(int[] multiSizes) { |
paul@67 | 5 | multiArray = new int[multiSizes[0]][multiSizes[1]]; |
paul@67 | 6 | } |
paul@67 | 7 | |
paul@67 | 8 | public int get(int index1, int index2) { |
paul@67 | 9 | return multiArray[index1][index2]; |
paul@67 | 10 | } |
paul@67 | 11 | } |