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

7
LINES

< > BotCompany Repo | #1005350 // startingWithIgnoreCase - filter list

JavaX fragment (include)

1  
static L<S> startingWithIgnoreCase(Collection<S> c, S prefix) {
2  
  new L<S> l;
3  
  for (S s : unnull(c))
4  
    if (swic(s, prefix))
5  
      l.add(s);
6  
  ret l;
7  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1005350
Snippet name: startingWithIgnoreCase - filter list
Eternal ID of this version: #1005350/1
Text MD5: 23bf1371948fd31de60887c697e66d2a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-11-08 16:22:52
Source code size: 159 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 507 / 518
Referenced in: [show references]