1 | static File toFile(O o) { |
2 | if (o instanceof File) ret (File) o; |
3 | if (o instanceof S) ret new File((S) o); |
4 | fail("Not a file: " + o); |
5 | } |
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: | 673 / 689 |
Referenced in: | [show references] |