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

12
LINES

< > BotCompany Repo | #1011106 // toCaseInsensitiveSet

JavaX fragment (include)

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

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lnbujpyubztb, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1011106
Snippet name: toCaseInsensitiveSet
Eternal ID of this version: #1011106/5
Text MD5: e969706160f77cfc1a9e780e0005155a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-10 17:08:17
Source code size: 295 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 572 / 603
Version history: 4 change(s)
Referenced in: [show references]