static File latestFile(Iterable<File> l) { new Best<File> best; for (File f : unnull(l)) if (f != null) best.put(f, f.lastModified()); ret best!; } static File latestFile(File[] l) { ret latestFile(asList(l)); }
download show line numbers debug dex old transpilations
Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019116 |
Snippet name: | latestFile (out of a list) |
Eternal ID of this version: | #1019116/2 |
Text MD5: | 1e5c6f8655e1c3d5c59fe6389a0a27d8 |
Author: | stefan |
Category: | javax / io |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-30 22:44:36 |
Source code size: | 240 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 446 / 499 |
Version history: | 1 change(s) |
Referenced in: | [show references] |