static L<File> filesOnly(File[] files) { new L<File> l; if (files != null) for (File f : files) if (!f.isDirectory()) l.add(f); ret l; }
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: | 544 / 537 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |