1 | static <A> HashSet<A> lithashset(A... items) { |
2 | new HashSet<A> set; |
3 | for (A a : items) set.add(a); |
4 | ret set; |
5 | } |
download show line numbers debug dex old transpilations
Travelled to 18 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, elmgxqgtpvxh, gwrvuhgaqvyk, ishqpsrjomds, lnbujpyubztb, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1002287 |
Snippet name: | lithashset |
Eternal ID of this version: | #1002287/1 |
Text MD5: | 1e28ed4da7ac5bb4346eb9f866de18a9 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-01-02 20:18:26 |
Source code size: | 117 bytes / 5 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 776 / 1446 |
Referenced in: | [show references] |