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

8
LINES

< > BotCompany Repo | #1033430 // addMegaLibrary

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

Libraryless. Click here for Pure Java version (6858L/40K).

1  
static Pair<L<File>> addMegaLibrary(ClassLoader cl, S snippetID) {
2  
  var jars = allJarFiles(unpackZipLibrary(snippetID));
3  
  new L<File> added;
4  
  new L<File> alreadyThere;
5  
  for (jar : jars)
6  
    (addByteCodePathToClassLoader(cl, jar) ? added : alreadyThere).add(jar);
7  
  ret pair(added, alreadyThere);
8  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1033430
Snippet name: addMegaLibrary
Eternal ID of this version: #1033430/2
Text MD5: 5ee328bb57a91ea7c5a682c97b863455
Transpilation MD5: f99f23fd8489aa9ece4a00d93c781a62
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-27 13:45:21
Source code size: 308 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 145 / 210
Version history: 1 change(s)
Referenced in: [show references]