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@75 | 1 | public class StringTest { |
paul@75 | 2 | private String s; |
paul@75 | 3 | private String s2 = new String("abc"); |
paul@75 | 4 | private static String s3; |
paul@75 | 5 | private static String s4 = new String("xyz"); |
paul@75 | 6 | |
paul@75 | 7 | public StringTest() { |
paul@75 | 8 | s = s2; |
paul@75 | 9 | } |
paul@75 | 10 | |
paul@75 | 11 | public StringTest(String newString) { |
paul@75 | 12 | s = newString; |
paul@75 | 13 | } |
paul@75 | 14 | } |