static <A> A firstContainedInSet(Iterable<A> l, Set<A> set) { if (l == null || empty(set)) null; for (A a : l) if (set.contains(a)) ret a; null; }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1017221 |
| Snippet name: | firstContainedInSet |
| Eternal ID of this version: | #1017221/1 |
| Text MD5: | 2c25adc41764c22aba548c17050dee48 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-07-14 13:19:52 |
| Source code size: | 168 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 586 / 615 |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |