Libraryless. Click here for Pure Java version (33L/1K).
1 | sS charactersToString(L<Char> l) { |
2 | if (l == null) null; |
3 | int n = l.size(); |
4 | char[] array = new[n]; |
5 | for i to n: |
6 | array[i] = l.get(i); |
7 | ret new S(array); |
8 | } |
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: | 179 / 248 |
Version history: | 1 change(s) |
Referenced in: | [show references] |