Libraryless. Click here for Pure Java version (47L/1K).
sS recursiveJoin(Iterable l) { new StringBuilder buf; recursiveJoin_impl(buf, l); ret str(buf); } svoid recursiveJoin_impl(StringBuilder buf, Iterable l) { if (l != null) for (O o : l) if (o cast Iterable) recursiveJoin_impl(buf, o); else buf.append(o); }
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: | #1027159 |
Snippet name: | recursiveJoin - e.g. for recursiveJavaTok |
Eternal ID of this version: | #1027159/3 |
Text MD5: | b3769282a106a5062841e4ceb66e640c |
Transpilation MD5: | cbb9568c3925044504ccb87790740f01 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-02-22 17:34:31 |
Source code size: | 296 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 176 / 258 |
Version history: | 2 change(s) |
Referenced in: | [show references] |