1 | static <A> Set<A> setPlus(Collection<A> l, A... more) { |
2 | Set<A> set = similarEmptySet(l); |
3 | addAll(set, l); |
4 | for (A a : more) set.add(a); |
5 | ret set; |
6 | } |
Began life as a copy of #1003336
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1018058 |
Snippet name: | setPlus - set plus more elements |
Eternal ID of this version: | #1018058/2 |
Text MD5: | 553830567965a83475f7630c33b8c323 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-01-05 11:09:02 |
Source code size: | 157 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 543 / 595 |
Version history: | 1 change(s) |
Referenced in: | [show references] |