1 | static L<File> existingDirectoriesOnly(File... dirs) {
|
2 | ret existingDirectoriesOnly(asList(dirs)); |
3 | } |
4 | |
5 | static L<File> existingDirectoriesOnly(L<File> dirs) {
|
6 | new L<File> l; |
7 | if (dirs != null) |
8 | for (File dir : dirs) |
9 | if (dir.isDirectory()) |
10 | l.add(dir); |
11 | ret l; |
12 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1003187 |
| Snippet name: | existingDirectoriesOnly - filter list of possible directories |
| Eternal ID of this version: | #1003187/1 |
| Text MD5: | 6ee313f04241bc889de741cf8348b9ed |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-05-25 16:44:13 |
| Source code size: | 291 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 802 / 827 |
| Referenced in: | [show references] |