static <A> Collection<A> pnlStructIndent(Collection<A> l) { int i = 0; if (l != null) for (A a : l) printIndent((++i) + ". " + struct_noStringSharing(a)); ret l; } static <A> A[] pnlStructIndent(A[] l) { pnlStructIndent(asList(l)); ret l; } static <A, B> Map<A, B> pnlStructIndent(Map<A, B> map) { pnlIndent(map(map, func(A a, B b) { sfu(a) + " = " + sfu(b) })); ret map; }
Began life as a copy of #1008537
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: | #1013394 |
Snippet name: | pnlStructIndent - pnlStruct + indent |
Eternal ID of this version: | #1013394/3 |
Text MD5: | 51e2b7133bb5c3e1ec86504b9df19750 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-01-05 01:07:26 |
Source code size: | 403 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 425 / 445 |
Version history: | 2 change(s) |
Referenced in: | [show references] |