Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1026721 // setUnion

JavaX fragment (include)

static <A> Set<A> setUnion(Set<A> a, Collection<A> b) {
  Set<A> set = cloneSet(a);
  addAll(set, b);
  ret set;
}

Author comment

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: 173 / 197
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)