Libraryless. Click here for Pure Java version (38L/1K).
svoid addFileIfExists(Cl<File> l, File f) { if (l != null && fileExists(f)) l.add(f); }
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1029706 |
Snippet name: | addFileIfExists |
Eternal ID of this version: | #1029706/1 |
Text MD5: | aa5488144e8e093a2283bbe8ec98a080 |
Transpilation MD5: | a58056d78400d6d4869805fb20fb2dc2 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-09-07 21:43:10 |
Source code size: | 96 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 199 / 281 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |