Transpiled version (1640L) is out of date.
sclass mapI_closeable_It extends CloseableIterableIterator { O f; CloseableIterableIterator i; *() {} *(O *f, CloseableIterableIterator *i) {} public bool hasNext() { ret i.hasNext(); } public O next() { ret callF(f, i.next()); } toString { ret formatFunctionCall('mapI_closeable, f, i); } public void close() throws Exception { i.close(); } } static CloseableIterableIterator mapLike mapI_closeable(final O f, final CloseableIterableIterator i) { ret mapI_closeable_It(f, i); }
Began life as a copy of #1004292
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: | #1023548 |
Snippet name: | mapI_closeable - apply a function to a closeable iterator |
Eternal ID of this version: | #1023548/5 |
Text MD5: | 6b840b4bdc1047774eafad03066c0946 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-06-28 00:32:12 |
Source code size: | 562 bytes / 27 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 273 / 366 |
Version history: | 4 change(s) |
Referenced in: | [show references] |