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).

!7

p-experiment-tt {
  L<S> src;
  L<S> l = flattenList(mapCodeTokens(f splitCamelCase, src = javaTokSnippet(#1007196)));
  S in = "foreground", out = "background";
  l = replaceIC_transferCase(l, in, out);
  printAsciiHeading("Original");
  printIndent(join(src));
  printAsciiHeading("Replaced " + in + " -> " + out);
  printIndent(join(l));
}

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: 270 / 1144
Version history: 6 change(s)
Referenced in: #1014546 - setBackground