Libraryless. Click here for Pure Java version (2842L/17K).
1 | static L<File> filesWithAnyExtension(Cl<S> extensions, L<File> files) {
|
2 | ret filesEndingWithAny(files, map(ext -> addPrefixIfNotEmpty2(".", ext), extensions));
|
3 | } |
Began life as a copy of #1019058
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1030625 |
| Snippet name: | filesWithAnyExtension |
| Eternal ID of this version: | #1030625/2 |
| Text MD5: | ddb0f641c86b3592dec57d7c3f60ba07 |
| Transpilation MD5: | 835beb86e589ab57ad41f2f8fcae4cfb |
| Author: | stefan |
| Category: | |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-02-04 09:36:10 |
| Source code size: | 164 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 355 / 478 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |