1 | static IterableIterator<Matches> gJMatch(final S pat) { |
2 | final L<S> log = gLog(); |
3 | |
4 | ret new IterableIterator<Matches>() { |
5 | int i = l(log); |
6 | new Matches m; |
7 | |
8 | public bool hasNext() { |
9 | while (--i >= 0 && !jmatch(pat, get(log, i), m)); |
10 | ret i >= 0; |
11 | } |
12 | |
13 | public Matches next() { |
14 | ret m; |
15 | } |
16 | }; |
17 | } |
Began life as a copy of #1004288
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1004289 |
Snippet name: | gJMatch |
Eternal ID of this version: | #1004289/1 |
Text MD5: | 229ad8948badc8700d43fb24ca9e187a |
Author: | stefan |
Category: | javax / talking robots |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-08-12 19:02:58 |
Source code size: | 352 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 533 / 539 |
Referenced in: | [show references] |