static LinkedHashSet collectUniqueOrdered(Collection c, S field) { new LinkedHashSet set; for (O a : c) { O val = getOpt(a, field); if (val != null) set.add(val); } ret set; }
Began life as a copy of #1005062
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: | #1010787 |
Snippet name: | collectUniqueOrdered |
Eternal ID of this version: | #1010787/1 |
Text MD5: | e38c020c75193b40b97af627e4e3e9d9 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-10-03 17:31:11 |
Source code size: | 205 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 290 / 319 |
Referenced in: | [show references] |