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

8
LINES

< > BotCompany Repo | #1028715 // charactersToString

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (33L/1K).

sS charactersToString(L<Char> l) {
  if (l == null) null;
  int n = l.size();
  char[] array = new[n];
  for i to n:
    array[i] = l.get(i);
  ret new S(array);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028715
Snippet name: charactersToString
Eternal ID of this version: #1028715/2
Text MD5: 0bcad5d02df7f8f4f80d83328148a697
Transpilation MD5: 7201109abc0a0c3049b8765128c72a0e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-06 00:19:22
Source code size: 170 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 106 / 156
Version history: 1 change(s)
Referenced in: [show references]