Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1003182 // sortFilesByDate

JavaX fragment (include)

1  
// newest last
2  
svoid sortFilesByDate(File[] files) {
3  
  sort(files, fileDateComparator());
4  
}
5  
6  
static L<File> sortFilesByDate(Collection<File> files) {
7  
  ret sortedByComparator(files, fileDateComparator());
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: #1003182
Snippet name: sortFilesByDate
Eternal ID of this version: #1003182/3
Text MD5: 203eabe56fc84820c0a59e822e3411cf
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-13 13:32:13
Source code size: 213 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 687 / 660
Version history: 2 change(s)
Referenced in: [show references]