Libraryless. Click here for Pure Java version (2546L/16K).
static <A> Set<A> joinSets(Cl<A>... l) { Set<A> set = similarEmptySet(first(l)); for (Cl<A> o : l) if (o != null) set.addAll(o); ret set; }
Began life as a copy of #1001899
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: | #1003110 |
Snippet name: | joinSets - uses similar set to first one passed, or HashSet by default |
Eternal ID of this version: | #1003110/5 |
Text MD5: | 01c31443e222dd78b2ff8c61137ba4f7 |
Transpilation MD5: | 61e8568cc4f1682de2f118ebec5f2fc9 |
Author: | stefan |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-12-18 19:11:22 |
Source code size: | 161 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 741 / 839 |
Version history: | 4 change(s) |
Referenced in: | [show references] |