Libraryless. Click here for Pure Java version (1933L/13K).
static <A> S longPseudoMultiSetToLines(Map<A, Long> map) { new L<S> l; if (map != null) for (A o : keysSortedByValueDesc(map)) l.add(map.get(o) + ": " + str(o)); ret lines(l); }
Began life as a copy of #1016436
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1024098 |
Snippet name: | longPseudoMultiSetToLines |
Eternal ID of this version: | #1024098/3 |
Text MD5: | e97fdb8fbfef9d001af7421ce2a7f96a |
Transpilation MD5: | 1f02f70e23becbed2dc046df56172763 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-07-20 19:05:58 |
Source code size: | 192 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 160 / 236 |
Version history: | 2 change(s) |
Referenced in: | [show references] |