1 | static <A> A lookupIgnoreCase(Map<S, A> map, S key) { |
2 | for (S s : map.keySet()) |
3 | if (eqic(s, key)) |
4 | ret map.get(s); |
5 | null; |
6 | } |
7 | |
8 | static <A> L<A> lookupIgnoreCase(MultiMap<S, A> map, S key) { |
9 | for (S s : map.keySet()) |
10 | if (eqic(s, key)) |
11 | ret map.get(s); |
12 | ret litlist(); |
13 | } |
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: | #1001995 |
Snippet name: | lookupIgnoreCase |
Eternal ID of this version: | #1001995/1 |
Text MD5: | dea36719547fc6df952b92815b3c9ab0 |
Author: | stefan |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-12-20 22:25:03 |
Source code size: | 299 bytes / 13 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 635 / 947 |
Referenced in: | [show references] |