1 | static <A, B> L<B> multiMapFirstOfEach(MultiMap<A, B> mm) { |
2 | if (mm == null) ret emptyList(); |
3 | synchronized(mm.mutex()) { |
4 | ret map first(values(mm.data)); |
5 | } |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018538 |
Snippet name: | multiMapFirstOfEach - first value for each key |
Eternal ID of this version: | #1018538/3 |
Text MD5: | 690634c8416fc1f52812e03e6428d25a |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-03 18:09:49 |
Source code size: | 170 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 333 / 378 |
Version history: | 2 change(s) |
Referenced in: | [show references] |