1 | static <A> L<A> lookupAllByNLMatch(Map<S, A> map, S s) { |
2 | new L<A> l; |
3 | for (S key : keys(map)) |
4 | if (match(key, s)) |
5 | l.add(map.get(key)); |
6 | ret l; |
7 | } |
Began life as a copy of #1008373
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: | #1012505 |
Snippet name: | lookupAllByNLMatch |
Eternal ID of this version: | #1012505/1 |
Text MD5: | f282705e75faaf41e678915c89fbd4c5 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-05 15:31:23 |
Source code size: | 165 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 487 / 512 |
Referenced in: | [show references] |