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

7
LINES

< > BotCompany Repo | #1023756 // firstMatchesX_rest - welcome to ugly function names!

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2487L/16K).

1  
sS firstMatchesX_rest(S pat, Iterable<S> l) {
2  
  new Matches m;
3  
  for (S s : unnull(l))
4  
    if (matchX(pat, s, m))
5  
      ret m.rest();
6  
  null;
7  
}

Author comment

Began life as a copy of #1021443

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1023756
Snippet name: firstMatchesX_rest - welcome to ugly function names!
Eternal ID of this version: #1023756/4
Text MD5: 723cc5ef39db316d169bdb0414cbf4c2
Transpilation MD5: fc0639af24e3dcb6362fc8bf84af1d54
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-08 15:23:12
Source code size: 149 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 195 / 282
Version history: 3 change(s)
Referenced in: [show references]