2005-01-09 | Paul Boddie | file changeset files shortlog | Added a method to provide the "unqualified Python name" of methods. This is useful when generating wrappers of existing Python classes where the additional type information usually included in "Python names" is not present in the wrapped method names. |
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 | } |