1 | static IterableIterator<S> scanLog_bounded_iterator(File file, long max) {
|
2 | final Iterator<S> it = linesFromFile_bounded(file, max); |
3 | ret iteratorFromFunction(func -> S {
|
4 | while (it.hasNext()) {
|
5 | S s = it.next(); |
6 | if (isProperlyQuoted(s)) |
7 | ret unquote(s); |
8 | } |
9 | null; |
10 | }); |
11 | } |
Began life as a copy of #1011458
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: | #1021218 |
| Snippet name: | scanLog_bounded_iterator - scan log made with logQuoted up to a certain byte index. TODO: closing if interrupted |
| Eternal ID of this version: | #1021218/1 |
| Text MD5: | ca12cbcfcae24a2d9d2e84b3f8c1724d |
| Author: | stefan |
| Category: | javax / io |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-02-03 15:08:12 |
| Source code size: | 311 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 603 / 606 |
| Referenced in: | [show references] |