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

12
LINES

< > BotCompany Repo | #1014540 // Replace a word in JavaX source (includes camel case parsing, OK)

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Uses 3874K of libraries. Click here for Pure Java version (7233L/50K).

1  
!7
2  
3  
p-experiment-tt {
4  
  L<S> src;
5  
  L<S> l = flattenList(mapCodeTokens(f splitCamelCase, src = javaTokSnippet(#1007196)));
6  
  S in = "foreground", out = "background";
7  
  l = replaceIC_transferCase(l, in, out);
8  
  printAsciiHeading("Original");
9  
  printIndent(join(src));
10  
  printAsciiHeading("Replaced " + in + " -> " + out);
11  
  printIndent(join(l));
12  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1014540
Snippet name: Replace a word in JavaX source (includes camel case parsing, OK)
Eternal ID of this version: #1014540/7
Text MD5: ea25624bb6e678f1ae86b9f8e165cff6
Transpilation MD5: 8f2e717802936634291f3fa92c0acfb8
Author: stefan
Category: javax / a.i.
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-23 23:52:59
Source code size: 357 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 406 / 1415
Version history: 6 change(s)
Referenced in: [show references]