1 | static L<File> filesOnly(File[] files) { |
2 | new L<File> l; |
3 | if (files != null) |
4 | for (File f : files) |
5 | if (!f.isDirectory()) |
6 | l.add(f); |
7 | ret l; |
8 | } |
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: | #1003183 |
Snippet name: | filesOnly - drops directories out of a list of files |
Eternal ID of this version: | #1003183/1 |
Text MD5: | 74c8a93e4ca47f831273579e59044208 |
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:27:00 |
Source code size: | 167 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 545 / 538 |
Referenced in: | [show references] |