1 | static IterableIterator<S> it_observeSuffix(final Iterator<S> src) { |
2 | ret iteratorFF(new F0 { |
3 | S suffix; |
4 | |
5 | O get() { |
6 | if (!src.hasNext()) ret endMarker(); |
7 | S s = src.next(); |
8 | suffix = suffix == null ? s : commonSuffix(suffix, s); |
9 | ret suffix; |
10 | } |
11 | }); |
12 | } |
Began life as a copy of #1013589
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1013596 |
Snippet name: | it_observeSuffix |
Eternal ID of this version: | #1013596/1 |
Text MD5: | 65ac5d78a00b3c876c708a810108386a |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-01-11 13:20:55 |
Source code size: | 298 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 342 / 396 |
Referenced in: | [show references] |