static <A, B> L<A> pairList_backwardLookup(Collection<Pair<A, B>> l, B b) { new L<A> out; for (Pair<A, B> p : unnull(l)) if (eq(p.b, b)) out.add(p.a); ret out; }
Began life as a copy of #1009465
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: | #1009466 |
Snippet name: | pairList_backwardLookup - look up all first entries for pairs with given second entry in a L<Pair> |
Eternal ID of this version: | #1009466/3 |
Text MD5: | b15891091fe55f5f8d096bd7d33721ec |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-08-22 19:08:16 |
Source code size: | 176 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 512 / 573 |
Version history: | 2 change(s) |
Referenced in: | [show references] |