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

12
LINES

< > BotCompany Repo | #1011106 // toCaseInsensitiveSet

JavaX fragment (include)

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

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

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: 451 / 512
Version history: 4 change(s)
Referenced in: [show references]