2004-12-09 | Paul Boddie | file changeset files shortlog | Changed the special notation for Java-callable methods so that methods may be more easily written in Python. Added various method implementations so that javax.servlet.http.Cookie can at least be instantiated. |
paul@67 | 1 | public class ArrayTest { |
paul@67 | 2 | public int[] array; |
paul@67 | 3 | |
paul@67 | 4 | public ArrayTest(int size) { |
paul@67 | 5 | array = new int[size]; |
paul@67 | 6 | } |
paul@67 | 7 | |
paul@67 | 8 | public int get(int index) { |
paul@67 | 9 | return array[index]; |
paul@67 | 10 | } |
paul@67 | 11 | } |