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

12
LINES

< > BotCompany Repo | #1022996 // toCaseInsensitiveSet_treeSet

JavaX fragment (include)

1  
static TreeSet<S> toCaseInsensitiveSet_treeSet(Iterable<S> c) {
2  
  if (isCISet(c)) ret (TreeSet) c;
3  
  TreeSet<S> set = caseInsensitiveSet_treeSet();
4  
  addAll(set, c);
5  
  ret set;
6  
}
7  
8  
static TreeSet<S> toCaseInsensitiveSet_treeSet(S... x) {
9  
  TreeSet<S> set = caseInsensitiveSet_treeSet();
10  
  addAll(set, x);
11  
  ret set;
12  
}

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: 257 / 390
Referenced in: [show references]