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

6
LINES

< > BotCompany Repo | #1013852 // outputSinceLastInput_fromDisk

JavaX fragment (include)

1  
static S outputSinceLastInput_fromDisk() {
2  
  assertNempty(readLinePrintPrefix());
3  
  L<S> lines = asList(linesFromFile(programFile("output.txt")));
4  
  int i = lastIndexOfStartingWith(lines, readLinePrintPrefix());
5  
  ret lines(subList(lines, i));
6  
}

Author comment

Began life as a copy of #1013851

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: #1013852
Snippet name: outputSinceLastInput_fromDisk
Eternal ID of this version: #1013852/1
Text MD5: d7e2106f974b7bc2746f66463d78adfb
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-03-06 21:09:22
Source code size: 250 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 383 / 409
Referenced in: [show references]