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

8
LINES

< > BotCompany Repo | #1017228 // plusWithoutPunctuation

JavaX fragment (include)

static Set<S> plusWithoutPunctuation(Collection<S> l) {
  Set<S> set = new LinkedHashSet;
  for (S s : unnull(l)) {
    set.add(s);
    set.add(dropPunctuation(s));
  }
  ret set;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1017228
Snippet name: plusWithoutPunctuation
Eternal ID of this version: #1017228/1
Text MD5: faec6a4075680ca8d659c2dd4633fa1a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-14 14:02:39
Source code size: 188 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 246 / 263
Referenced in: [show references]