Libraryless. Click here for Pure Java version (1624L/10K).
!636 !quicktranslator !class JavaTok // replace L<S> with List<String> // and L<X> with List<X> List<String> tok = JavaTok.split(s); for (int i = 1; i+6 < tok.size(); i += 2) if (tok.get(i).equals("L") && tok.get(i+2).equals("<") && tok.get(i+6).equals(">")) { tok.set(i, "List"); if (tok.get(i+4).equals("S")) tok.set(i+4, "String"); } s = JavaTok.join(tok);
Began life as a copy of #680
download show line numbers debug dex old transpilations
Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, jtubtzbbkimh, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt
ID | Author/Program | Comment | Date | |
---|---|---|---|---|
615 | #1000610 | Edit suggestion: !636 !629 main { static Object androidContext; static String programID; public static void main(String[] args) throws Exception { !636 !quicktranslator !class JavaTok // replace L<S> with List<String> // and L<X> with List<X> List<String> tok = JavaTok.split(s); for (int i = 1; i+6 < tok.size(); i += 2) if (tok.get(i).equals("L") && tok.get(i+2).equals("<") && tok.get(i+6).equals(">")) { tok.set(i, "List"); if (tok.get(i+4).equals("S")) tok.set(i+4, "String"); } s = JavaTok.join(tok); }} | 2015-08-19 00:52:41 | delete |
613 | #1000604 (pitcher) | 2015-08-18 00:07:22 |