1 | static <A> L<A> msTopTenValues(MultiSet<A> ms, int n) { |
2 | ret ms == null ? emptyList() : ms.getTopTen(n); |
3 | } |
4 | |
5 | static <A> L<A> msTopTenValues(MultiSet<A> ms) { |
6 | ret msTopTenValues(ms, 10); |
7 | } |
8 | |
9 | static <A> L<A> msTopTenValues(int n, MultiSet<A> ms) { |
10 | ret msTopTenValues(ms, n); |
11 | } |
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: | 383 / 393 |
Version history: | 3 change(s) |
Referenced in: | [show references] |