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

19
LINES

< > BotCompany Repo | #1011368 // Replace String with CharSequence [not that easy]

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

Download Jar. Libraryless. Click here for Pure Java version (5622L/38K).

1  
!7
2  
3  
p {
4  
  Pair<S, L<S>> p = getServerTranslationAndLibs(#1011364);
5  
  S src = p.a;
6  
  L<S> tok = javaTok(src);
7  
  jreplace(tok, "String", "CharSequence");
8  
  
9  
  /*jreplace(tok,
10  
    [[static <id> _compactString(<id> s) { return s; }]],
11  
    [[static CharSequence _compactString(CharSequence s) {
12  
      return s;
13  
    }]]);*/
14  
15  
  src = join(tok);
16  
  print(src);
17  
  Class c = veryQuickJava3(src, p.b);
18  
  print("Yo!");
19  
}

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: #1011368
Snippet name: Replace String with CharSequence [not that easy]
Eternal ID of this version: #1011368/6
Text MD5: f2b0ab03ab58ee54afece5bce85a812d
Transpilation MD5: 40e242f04ba6e3c5b7637997267b04e7
Author: stefan
Category: javax / optimization
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-26 04:12:46
Source code size: 425 bytes / 19 lines
Pitched / IR pitched: No / No
Views / Downloads: 477 / 1057
Version history: 5 change(s)
Referenced in: [show references]