Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

23
LINES

< > BotCompany Repo | #1000352 // Try generated Java code (by #685)

JavaX source code - run with: x30.jar

!636
!class JavaTok

main {
  psvm {
    Object in = "Bla case;";
    System.out.println(in);
    
    // generated code start
    in = JavaTok.split((String) in);
    List out = new ArrayList();
    for (Object x : (List) in) {
      in = x;
      if ("case".equals(in)) in = "_case";
      out.add(in);
    }
    in = out;
    in = JavaTok.join((List) in);
    // generated code end
    
    System.out.println(in);
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1000352
Snippet name: Try generated Java code (by #685)
Eternal ID of this version: #1000352/1
Text MD5: c26391dbe5901a4b4dc4f4ececb63cb7
Author: stefan
Category:
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-07-27 19:50:56
Source code size: 445 bytes / 23 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 740 / 634
Referenced in: [show references]