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

3
LINES

< > BotCompany Repo | #1033238 // userDir_oneOf_createIfNone - return first one that exists, or a special one

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (3949L/23K).

static File userDir_oneOf_createIfNone(S ifNone, S... names) {
  ret or(userDir_oneOf(names), userDir(ifNone));
}

Author comment

Began life as a copy of #1032288

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033238
Snippet name: userDir_oneOf_createIfNone - return first one that exists, or a special one
Eternal ID of this version: #1033238/1
Text MD5: c9fdc0677ebfc4eaa0b20ac70bccf5f6
Transpilation MD5: b6e7210ba3c94863c4e69db3e1f8e941
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-16 08:06:47
Source code size: 115 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 140 / 208
Referenced in: [show references]