Libraryless. Click here for Pure Java version (3412L/21K).
sS renderMultiSetAsLines_keepOrder(MultiSet ms, O... _) { optPar int padWidth = 6; if (ms == null) ret "-"; new LS l; for (O o : keys(ms)) l.add(lpad(padWidth, n2(ms.get(o))) + ": " + str(o)); ret lines(l); }
Began life as a copy of #1010496
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030104 |
Snippet name: | renderMultiSetAsLines_keepOrder |
Eternal ID of this version: | #1030104/3 |
Text MD5: | b82f3f0aed2166990470f6436cf08240 |
Transpilation MD5: | 4c243c188f83ba47ab72c3f1e1d6f94f |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-11-09 11:06:08 |
Source code size: | 229 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 193 / 271 |
Version history: | 2 change(s) |
Referenced in: | [show references] |