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

4
LINES

< > BotCompany Repo | #1029754 // filterFilesInAllJarFiles_recursive - good for finding things in JAR files

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

Libraryless. Click here for Pure Java version (4701L/31K).

static ItIt<Pair<File, S>> filterFilesInAllJarFiles_recursive(File dir, IPred<S> pred) {
  ret nestedIterator(allJarFiles_recursive(dir), jar ->
    mapI(name -> pair(jar, name), filter(pred, listZip(jar))));
}

Author comment

Began life as a copy of #1019057

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1029754
Snippet name: filterFilesInAllJarFiles_recursive - good for finding things in JAR files
Eternal ID of this version: #1029754/3
Text MD5: b69d612ee729e1696b7734fd02e1783b
Transpilation MD5: fa1180787b584078a0586367d2baed98
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-09-11 22:29:07
Source code size: 213 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 110 / 168
Version history: 2 change(s)
Referenced in: [show references]