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

5
LINES

< > BotCompany Repo | #1014120 // Test lastLineOfFile with empty file (OK)

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Uses 408K of libraries. Click here for Pure Java version (2709L/17K/58K).

1  
!7
2  
3  
p {
4  
  printStruct(assertNull(lastLineOfFile(programFile("notthere")));
5  
}

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: #1014120
Snippet name: Test lastLineOfFile with empty file (OK)
Eternal ID of this version: #1014120/2
Text MD5: c2d3106da1ca0c276a8e27ba50b68266
Transpilation MD5: c07723aed0ea4617f91c45863677d8b4
Author: stefan
Category: javax / i.o.
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-11 02:55:12
Source code size: 80 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 344 / 450
Version history: 1 change(s)
Referenced in: [show references]