static <A> void longMultiSet_dropBottomPart(Map<A, Long> ms, int n) { keys(ms).removeAll(takeFirst(n, sortByScore(keys(ms), ms))); }
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: | #1009453 | 
| Snippet name: | longMultiSet_dropBottomPart - drop elements with least value | 
| Eternal ID of this version: | #1009453/5 | 
| Text MD5: | b86aae3f89533b1332facdeb56acd8fa | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2017-08-02 00:00:18 | 
| Source code size: | 136 bytes / 3 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 732 / 771 | 
| Version history: | 4 change(s) | 
| Referenced in: | [show references] |