static <A> L<Pair<A>> pairList_lookupAnySide(Collection<Pair<A>> l, A a) { new L<Pair<A>> out; for (Pair<A> p : unnull(l)) if (eq(p.a, a) || eq(p.b, a)) out.add(p); ret out; }
Began life as a copy of #1009466
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: | #1009871 |
Snippet name: | pairList_lookupAnySide |
Eternal ID of this version: | #1009871/1 |
Text MD5: | f28d3984960ce87a70d35603e8b99c62 |
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:11:31 |
Source code size: | 190 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 567 / 605 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |