2005-02-13 | Paul Boddie | file changeset files shortlog | Attempted to simplify the class loading mechanism by adding instance-level state to remember which classes have been imported so far. Only at the top level will such classes be created and initialised. Added a convenience method to ClassTranslator. |
paul@121 | 1 | package testpackage; |
paul@121 | 2 | |
paul@121 | 3 | public class MainTest { |
paul@121 | 4 | public static void main(String[] args) { |
paul@121 | 5 | for (int i = 0; i < args.length; i++) { |
paul@126 | 6 | System.out.println(args[i] + " " + new Integer(args[i].length()).toString()); |
paul@121 | 7 | } |
paul@121 | 8 | } |
paul@121 | 9 | } |