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

10
LINES

< > BotCompany Repo | #1021443 // getMatchesX_all

JavaX fragment (include)

1  
static L<Matches> getMatchesX_all(S pat, Iterable<S> l) {
2  
  new Matches m;
3  
  new L<Matches> out;
4  
  for (S s : unnull(l))
5  
    if (matchX(pat, s, m)) {
6  
      out.add(m);
7  
      m = new Matches;
8  
    }
9  
  ret out;
10  
}

Author comment

Began life as a copy of #1021436

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: #1021443
Snippet name: getMatchesX_all
Eternal ID of this version: #1021443/3
Text MD5: a4d0e4d383b50e5ce6f3c588b56eab88
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-12 22:07:24
Source code size: 218 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 285 / 325
Version history: 2 change(s)
Referenced in: [show references]