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

4
LINES

< > BotCompany Repo | #1030623 // filesEndingWithAny - ignores case

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

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

static L<File> filesEndingWithAny(L<File> l, Cl<S> suffixes) {
  ret filter(l, f ->
    !f.isDirectory() && ewicAny(f.getName(), suffixes));
}

Author comment

Began life as a copy of #1010710

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1030623
Snippet name: filesEndingWithAny - ignores case
Eternal ID of this version: #1030623/1
Text MD5: 2d75c54b2d4195b2f8178f3adbfa345c
Transpilation MD5: 5a59eb84ed9a39794ce4bc3ad8cfd1ee
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-02-04 09:29:44
Source code size: 145 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 218 / 295
Referenced in: [show references]