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

12
LINES

< > BotCompany Repo | #1022996 // toCaseInsensitiveSet_treeSet

JavaX fragment (include)

static TreeSet<S> toCaseInsensitiveSet_treeSet(Iterable<S> c) {
  if (isCISet(c)) ret (TreeSet) c;
  TreeSet<S> set = caseInsensitiveSet_treeSet();
  addAll(set, c);
  ret set;
}

static TreeSet<S> toCaseInsensitiveSet_treeSet(S... x) {
  TreeSet<S> set = caseInsensitiveSet_treeSet();
  addAll(set, x);
  ret set;
}

Author comment

Began life as a copy of #1011106

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1022996
Snippet name: toCaseInsensitiveSet_treeSet
Eternal ID of this version: #1022996/1
Text MD5: ac2363b8bdab7bb5a29ef0c1fe15a951
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-19 23:35:49
Source code size: 327 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 187 / 314
Referenced in: [show references]