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

10
LINES

< > BotCompany Repo | #1021653 // getJMatches_all

JavaX fragment (include)

static L<Matches> getJMatches_all(S pat, Iterable<S> l) {
  new Matches m;
  new L<Matches> out;
  for (S s : unnull(l))
    if (jmatch(pat, s, m)) {
      out.add(m);
      m = new Matches;
    }
  ret out;
}

Author comment

Began life as a copy of #1021443

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney

No comments. add comment

Snippet ID: #1021653
Snippet name: getJMatches_all
Eternal ID of this version: #1021653/5
Text MD5: baea5e54e6d5aaab456928a2b4e3b804
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-23 12:37:17
Source code size: 218 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 277 / 320
Version history: 4 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)