GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — java2python/test/Switch5.java at master · datagram-db/java2python Expand file tree/ Copy pathSwitch5.javaMore file actions 21 lines (15 loc) · 445 Bytes / Copy pathSwitch5.javaFile metadata and controls21 lines (15 loc) · 445 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 // tests switches with class attributes class Switch5 { public static final int RT_VOLUME = 48; public static String getField( int val) { switch( val) { case RT_VOLUME: return "rt volume"; default: return "unknown"; } } public static void main(String[] args) { Switch5 c = new Switch5(); System.out.println( c.getField(48) ); System.out.println( c.getField(49) ); } } |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |