static HashSet collectAsHashSet(Iterable c, S field) { new HashSet set; if (c != null) for (O a : c) set.add(getOpt(a, field)); ret set; } static HashSet collectAsHashSet(S field, Iterable c) { ret collectAsHashSet(c, field); }
Began life as a copy of #1002318
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1017816 |
| Snippet name: | collectAsHashSet |
| Eternal ID of this version: | #1017816/1 |
| Text MD5: | 1b1ec95876fe998d423962c0ec8662ef |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-08-14 21:23:52 |
| Source code size: | 249 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 581 / 617 |
| Referenced in: | [show references] |