Libraryless. Click here for Pure Java version (10201L/55K).
static CloseableIterableIterator<S> linesFromReader(Reader r, IResourceHolder resourceHolder default null) { final BufferedReader br = bufferedReader(r); ret holdResource(resourceHolder, iteratorFromFunction_f0_autoCloseable(func -> S { readLineFromReaderWithClose(br) }, _wrapIOCloseable(r))); } static CloseableIterableIterator<S> linesFromReader(InputStream in) { ret linesFromReader(inputStreamReader(in)); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1008739 |
Snippet name: | linesFromReader - make sure to close (use temp) |
Eternal ID of this version: | #1008739/14 |
Text MD5: | fedac43e7ecaea34279f245070c0bd7e |
Transpilation MD5: | cd584b37824426a71bf35ae3dd1235bf |
Author: | stefan |
Category: | javax / i.o. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2023-02-21 20:24:17 |
Source code size: | 426 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 597 / 732 |
Version history: | 13 change(s) |
Referenced in: | [show references] |