static S firstStartingWith(Collection<S> l, S prefix) { for (S s : unnull(l)) if (startsWith(s, prefix)) ret s; null; }
Began life as a copy of #1007925
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: | #1009108 |
Snippet name: | firstStartingWith - first element starting with a string |
Eternal ID of this version: | #1009108/1 |
Text MD5: | 64f5b6b48b70b8f4b286192e71ef128a |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-07-02 20:42:47 |
Source code size: | 138 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 492 / 541 |
Referenced in: | [show references] |