Libraryless. Click here for Pure Java version (142L/1K/4K).
!752 static S expand(S compressed) { L<S> lines = toLines(compressed); int count = parseInt(lines.get(1)); S line = lines.get(2); ret fromLines(repeat(line, count)); }
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1002223 |
| Snippet name: | Simple Text Expander |
| Eternal ID of this version: | #1002223/1 |
| Text MD5: | c9b7f8afdc2f685fa9ba36e495145557 |
| Transpilation MD5: | 5d32c8166c253f0f528748588704d01c |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2015-12-30 00:11:09 |
| Source code size: | 183 bytes / 8 lines |
| Pitched / IR pitched: | No / Yes |
| Views / Downloads: | 827 / 1214 |
| Referenced in: | [show references] |