Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1016008 // fileInSameDir - same dir, new name

JavaX fragment (include)

static File fileInSameDir(File f, S newName) {
  ret newFile(parentFile(f), newName);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 23 computer(s): aoiabmzegqzx, ayivmpnvhhik, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, jozkyjcghlvl, lnbujpyubztb, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, omdjrrnzbjjv, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv

No comments. add comment

Snippet ID: #1016008
Snippet name: fileInSameDir - same dir, new name
Eternal ID of this version: #1016008/2
Text MD5: 31c35d3757a584b4094029c20378b77d
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-08 12:45:06
Source code size: 89 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 320 / 2075
Version history: 1 change(s)
Referenced in: [show references]