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

6
LINES

< > BotCompany Repo | #1022578 // containsStartingWith

JavaX fragment (include)

1  
sbool containsStartingWith(Collection<S> l, S prefix) {
2  
  for unnull (S s : l)
3  
    if (startsWith(s, prefix))
4  
      true;
5  
  false;
6  
}

Author comment

Began life as a copy of #1018728

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1022578
Snippet name: containsStartingWith
Eternal ID of this version: #1022578/1
Text MD5: 62b7ab314c1924083efacd0ad8b57789
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-23 04:57:24
Source code size: 137 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 230 / 261
Referenced in: [show references]