1 | static S firstNotStartingWith(Collection<S> l, S prefix) { |
2 | for (S s : unnull(l)) |
3 | if (!startsWith(s, prefix)) |
4 | ret s; |
5 | null; |
6 | } |
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: | 358 / 382 |
Referenced in: | [show references] |