1 | static <A> TreeSet<A> joinTreeSets(Set<A>... l) { |
2 | new TreeSet set; |
3 | for (Set o : l) |
4 | if (o != null) |
5 | set.addAll(o); |
6 | ret set; |
7 | } |
Began life as a copy of #1003110
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: | #1010262 |
Snippet name: | joinTreeSets |
Eternal ID of this version: | #1010262/1 |
Text MD5: | 7d90b0047930b2dff5a94f48603af50a |
Author: | stefan |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-09-07 19:18:49 |
Source code size: | 145 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 453 / 482 |
Referenced in: | [show references] |