Libraryless. Click here for Pure Java version (5247L/29K).
static <A, B> L<A> keysWithMultipleValues(IMultiMap<A, B> mm) { new L<A> l; for (A key : mm.keySet()) if (l(mm.get(key)) > 1) l.add(key); ret l; }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1004753 |
Snippet name: | keysWithMultipleValues |
Eternal ID of this version: | #1004753/2 |
Text MD5: | 96686c239de8c4d8ac42d6a1bf1cf15c |
Transpilation MD5: | 17a31a667a50ff1a3cf96ea88d5ab99d |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-11 06:15:58 |
Source code size: | 168 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 551 / 577 |
Version history: | 1 change(s) |
Referenced in: | [show references] |