static <A, B> L<B> mmGetEither(MultiMap<A, B> mm, A... keys) { for (A key : keys) { L<B> l = mm.get(key); if (nempty(l)) ret l; } ret emptyList(); }
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: | #1014561 |
Snippet name: | mmGetEither |
Eternal ID of this version: | #1014561/1 |
Text MD5: | e0c389d266e57933fb28cedc7614ec2a |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-04-24 00:52:45 |
Source code size: | 168 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 393 / 422 |
Referenced in: | [show references] |