1 | static L<S> uniquifyCI(Collection<S> l) { |
2 | TreeSet<S> set = ciSet(); |
3 | new L<S> out; |
4 | for (S a : unnull(l)) |
5 | if (set.add(a)) |
6 | out.add(a); |
7 | ret out; |
8 | } |
Began life as a copy of #1006315
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: | #1014476 |
Snippet name: | uniquifyCI |
Eternal ID of this version: | #1014476/1 |
Text MD5: | 8c7498b3db72c2efd0180164f71dc680 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-04-22 02:04:53 |
Source code size: | 167 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 445 / 463 |
Referenced in: | [show references] |