static <A> L<A> msTopTenValues(MultiSet<A> ms, int n) { ret ms == null ? emptyList() : ms.getTopTen(n); } static <A> L<A> msTopTenValues(MultiSet<A> ms) { ret msTopTenValues(ms, 10); } static <A> L<A> msTopTenValues(int n, MultiSet<A> ms) { ret msTopTenValues(ms, n); }
Began life as a copy of #1011986
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1012470 |
Snippet name: | msTopTenValues |
Eternal ID of this version: | #1012470/4 |
Text MD5: | 74bdb9ea0513828dbf9485f731151c1b |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-03-22 16:25:27 |
Source code size: | 287 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 384 / 393 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1012471 - msTopTenMap |