Libraryless. Click here for Pure Java version (3157L/17K).
1 | static <B, A extends Cl<B>> A printLines(S msg default "", A c) { |
2 | for (O o : unnull(c)) |
3 | print(msg, o); |
4 | ret c; |
5 | } |
6 | |
7 | svoid <A> printLines(Iterable<A> l, IF1<A, S> f) { |
8 | for (S s : mapI(l, f)) |
9 | print(s); |
10 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1008972 |
Snippet name: | printLines |
Eternal ID of this version: | #1008972/5 |
Text MD5: | 8f7e025029508fd97d33a1033c7d0143 |
Transpilation MD5: | 5ba6f8badbc80ab41850118e7b780ad0 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-08-14 10:53:36 |
Source code size: | 221 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 490 / 610 |
Version history: | 4 change(s) |
Referenced in: | [show references] |