static <A> A lookupIgnoreCase(Map<S, A> map, S key) { for (S s : map.keySet()) if (eqic(s, key)) ret map.get(s); null; } static <A> L<A> lookupIgnoreCase(MultiMap<S, A> map, S key) { for (S s : map.keySet()) if (eqic(s, key)) ret map.get(s); ret litlist(); }
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: | 634 / 946 |
Referenced in: | #1002107 - lookupPossiblyIgnoreCase #1002427 - Accellerating 629 (SPIKE) #1006654 - Standard functions list 2 (LIVE, continuation of #761) #3000382 - Answer for ferdie (>> t = 1, f = 0) |