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

6
LINES

< > BotCompany Repo | #1009820 // firstStartingWithIC - first element starting with a string (ignore case)

JavaX fragment (include)

1  
static S firstStartingWithIC(Collection<S> l, S prefix) {
2  
  for (S s : unnull(l))
3  
    if (swic(s, prefix))
4  
      ret s;
5  
  null;
6  
}

Author comment

Began life as a copy of #1009108

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1009820
Snippet name: firstStartingWithIC - first element starting with a string (ignore case)
Eternal ID of this version: #1009820/1
Text MD5: 3567da1b79cbb7575d9ea4e33ae700c2
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-19 19:56:13
Source code size: 134 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 497 / 547
Referenced in: [show references]