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

7
LINES

< > BotCompany Repo | #1030455 // mergeTreeSets

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (32L/1K).

static <A> Set<A> mergeTreeSets(Cl<A>... l) {
  new TreeSet<A> set;
  for (Cl<A> o : l)
    if (o != null)
      set.addAll(o);
  ret set;
}

Author comment

Began life as a copy of #1003110

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030455
Snippet name: mergeTreeSets
Eternal ID of this version: #1030455/3
Text MD5: e3112d45c370598c646d8d1dd6aaab3f
Transpilation MD5: 58904c4e45824f68b6a7e61488b8a62c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-12-18 19:10:08
Source code size: 146 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 226 / 330
Version history: 2 change(s)
Referenced in: [show references]