1 | static <A> Set<A> setUnion(Set<A> a, Collection<A> b) { |
2 | Set<A> set = cloneSet(a); |
3 | addAll(set, b); |
4 | ret set; |
5 | } |
Began life as a copy of #1009544
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1026721 |
Snippet name: | setUnion |
Eternal ID of this version: | #1026721/2 |
Text MD5: | 4c9f9bf9ca6f065c96048e87e35dc557 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-01-19 19:59:00 |
Source code size: | 118 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 172 / 197 |
Version history: | 1 change(s) |
Referenced in: | [show references] |