Libraryless. Click here for Pure Java version (56L/1K).
sS repSimple(int n, char c) { ret repeat(c, n); } static <A> L<A> repSimple(int n, A a) { ret repeat(n, a); }
Began life as a copy of #1002635
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1033212 |
| Snippet name: | repSimple - synonym of repeat, but n is always first |
| Eternal ID of this version: | #1033212/3 |
| Text MD5: | f1066d19b9011b04aa7ab4c86de2b5ab |
| Transpilation MD5: | c81693b4411380657607fe916d15df36 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-10-16 04:19:52 |
| Source code size: | 122 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 374 / 509 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |