static <A> A reverseLookupCI(S value, Map<A, S> map) { ret reverseLookupCI(map, value); } static <A> A reverseLookupCI(Map<A, S> map, S value) { if (map != null && value != null) for (A key : map.keySet()) if (eqic(map.get(key), value)) ret key; ret null; }
Began life as a copy of #1002303
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: | #1016016 |
Snippet name: | reverseLookupCI - look up a key from a value, case-insensitive |
Eternal ID of this version: | #1016016/3 |
Text MD5: | 30ad0ffd0b8ab03c6344bfcb87065855 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-06-02 23:03:16 |
Source code size: | 283 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 401 / 412 |
Version history: | 2 change(s) |
Referenced in: | [show references] |