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

3
LINES

< > BotCompany Repo | #1022985 // firstFileWithName

JavaX fragment (include)

static File firstFileWithName(Iterable<File> l, S name) {
  ret firstThat(l, f -> eq(fileName(f), name));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1022985
Snippet name: firstFileWithName
Eternal ID of this version: #1022985/1
Text MD5: b3817fad4600dde343a6a81eb8e2639d
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-17 08:28:14
Source code size: 109 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 249 / 289
Referenced in: [show references]