Libraryless. Click here for Pure Java version (2752L/16K).
1 | static File firstFileThatExists(S... paths) { |
2 | ret oneOfTheFiles(paths); |
3 | } |
4 | |
5 | static File firstFileThatExists(File... files) { |
6 | ret oneOfTheFiles(files); |
7 | } |
8 | |
9 | static File firstFileThatExists(Iterable<File> files) { |
10 | ret oneOfTheFiles(files); |
11 | } |
Began life as a copy of #1010488
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: | #1013994 |
Snippet name: | firstFileThatExists - synonym of oneOfTheFiles - return first one that exists |
Eternal ID of this version: | #1013994/3 |
Text MD5: | 16eb547d694f8dc9b51139e56093a15a |
Transpilation MD5: | 8c31414bc6303b4dd3ab04e89d78e79d |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-02-09 10:34:22 |
Source code size: | 252 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 462 / 543 |
Version history: | 2 change(s) |
Referenced in: | [show references] |