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

7
LINES

< > BotCompany Repo | #1032405 // fileContainingIC

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

Libraryless. Click here for Pure Java version (3329L/18K).

1  
static File fileContainingIC(File dir, S searchString) {
2  
  ret fileContainingIC(listDir(dir), searchString);
3  
}
4  
5  
static File fileContainingIC(Iterable<File> files, S searchString) {
6  
  ret first(files, f -> cic(fileName(f), searchString));
7  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1032405
Snippet name: fileContainingIC
Eternal ID of this version: #1032405/2
Text MD5: 6dc7a1f585c929973198c1a470fcc88c
Transpilation MD5: c20348c0b83d6b338cf0ad2cc5b7aaa6
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-09-03 01:28:59
Source code size: 245 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 140 / 212
Version history: 1 change(s)
Referenced in: [show references]