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

8
LINES

< > BotCompany Repo | #1003182 // sortFilesByDate

JavaX fragment (include)

// newest last
svoid sortFilesByDate(File[] files) {
  sort(files, fileDateComparator());
}

static L<File> sortFilesByDate(Collection<File> files) {
  ret sortedByComparator(files, fileDateComparator());
}

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: 686 / 658
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1015308 - sortFilesByDateDesc