Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1008739 - linesFromReader - make sure to close (use temp)

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2820L/17K).

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)));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz

No comments. add comment

Snippet ID: #1008739
Snippet name: linesFromReader - make sure to close (use temp)
Eternal ID of this version: #1008739/13
Text MD5: 3340a6e135dab2f1de7fbef64be0a52a
Transpilation MD5: 5c9b12aa7644ced1450deb4530ca9fbe
Author: stefan
Category: javax / i.o.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-05-01 15:19:43
Source code size: 303 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 362 / 399
Version history: 12 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1008739 & http://1008739.tinybrain.de