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

9
LINES

< > BotCompany Repo | #1031394 // filesFromClassLoader_new - now usually returns a set

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

Libraryless. Click here for Pure Java version (2764L/16K).

// works for JavaXClassLoader

static Cl<File> filesFromClassLoader_new(Class c) {
  ret filesFromClassLoader(getClassLoader(c));
}

static Cl<File> filesFromClassLoader_new(ClassLoader cl) {
  ret (Cl<File>) getOpt(cl, 'files);
}

Author comment

Began life as a copy of #1031286

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031394
Snippet name: filesFromClassLoader_new - now usually returns a set
Eternal ID of this version: #1031394/3
Text MD5: 2345b25699570a9be1cecc5fd4674b2e
Transpilation MD5: 44f8061db5eec45c404f2678fdaf1955
Author: stefan
Category: javax / byte code
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-09 08:47:46
Source code size: 238 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 167 / 244
Version history: 2 change(s)
Referenced in: [show references]