sclass ExpectNumberedLines > Expecter { bool check(O o) { if (o cast S) { LS l = lines((S) o); for i over l: if (!startsWith(l.get(i), (i+1) + ".")) false; true; } false; } }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1018487 |
| Snippet name: | ExpectNumberedLines |
| Eternal ID of this version: | #1018487/1 |
| Text MD5: | f4d2ae45be864150fb55ba192c2bda35 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-10-01 22:05:53 |
| Source code size: | 237 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 525 / 1075 |
| Referenced in: | #1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674) |