static <A, B> L<A> keysForValue(Map<A, B> map, B value) { new L<A> l; for (A key : keys(map)) if (eq(map.get(key), value)) l.add(key); ret l; }
Began life as a copy of #1002303
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: | #1003000 |
Snippet name: | keysForValue - find all keys for a value |
Eternal ID of this version: | #1003000/2 |
Text MD5: | 5b5980a3f29f54115b55fcd107602ca9 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-02-15 00:45:55 |
Source code size: | 165 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 681 / 644 |
Version history: | 1 change(s) |
Referenced in: | [show references] |