1 | static bool isAbsolutePath(S s) { |
2 | ret s != null && new File(s).isAbsolute(); |
3 | } |
4 | |
5 | static bool isAbsolutePath(File f) { |
6 | ret f != null && f.isAbsolute(); |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005742 |
Snippet name: | isAbsolutePath |
Eternal ID of this version: | #1005742/2 |
Text MD5: | 19ed84004441072ad1fbfaeb8fc69a2f |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-14 12:08:55 |
Source code size: | 161 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 551 / 612 |
Version history: | 1 change(s) |
Referenced in: | [show references] |