static File toFile(O o) { if (o instanceof File) ret (File) o; if (o instanceof S) ret new File((S) o); fail("Not a file: " + o); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1003651 |
Snippet name: | toFile |
Eternal ID of this version: | #1003651/1 |
Text MD5: | ac53dca25bc5d76fb9f6ff3d608de1b9 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-07-25 00:19:04 |
Source code size: | 141 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 674 / 689 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1015316 - toFileOpt #1029776 - toFile_nullOnEmpty |