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

3
LINES

< > BotCompany Repo | #1018657 // fileIfExists (or null)

JavaX fragment (include)

static File fileIfExists(File f) {
  ret fileExists(f) ? f : null;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1018657
Snippet name: fileIfExists (or null)
Eternal ID of this version: #1018657/1
Text MD5: d67df771b7b940790538e8a9771a23dd
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-08 11:53:04
Source code size: 70 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 304 / 341
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)