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

6
LINES

< > BotCompany Repo | #1019233 // firstNotStartingWith - first element not starting with a string

JavaX fragment (include)

static S firstNotStartingWith(Collection<S> l, S prefix) {
  for (S s : unnull(l))
    if (!startsWith(s, prefix))
      ret s;
  null;
}

Author comment

Began life as a copy of #1009108

download  show line numbers  debug dex  old transpilations   

Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019233
Snippet name: firstNotStartingWith - first element not starting with a string
Eternal ID of this version: #1019233/1
Text MD5: 89e65e59bc4821e6a06c1775b84bb847
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-28 13:28:24
Source code size: 142 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 357 / 381
Referenced in: [show references]