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

8
LINES

< > BotCompany Repo | #1017228 // plusWithoutPunctuation

JavaX fragment (include)

1  
static Set<S> plusWithoutPunctuation(Collection<S> l) {
2  
  Set<S> set = new LinkedHashSet;
3  
  for (S s : unnull(l)) {
4  
    set.add(s);
5  
    set.add(dropPunctuation(s));
6  
  }
7  
  ret set;
8  
}

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