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

6
LINES

< > BotCompany Repo | #1022578 // containsStartingWith

JavaX fragment (include)

sbool containsStartingWith(Collection<S> l, S prefix) {
  for unnull (S s : l)
    if (startsWith(s, prefix))
      true;
  false;
}

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