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

10
LINES

< > BotCompany Repo | #1003639 // musicFilesTable

JavaX fragment (include)

1  
static L musicFilesTable() {
2  
  ret musicFilesTable(findMusicFiles());
3  
}
4  
5  
static L musicFilesTable(L<File> files) {
6  
  new L data;
7  
  for (File f : files)
8  
    data.add(litorderedmap("Name", f.getName(), "Location", f.getParentFile().getAbsolutePath()));
9  
  ret sortedByFields(data, "Location", "Name");
10  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1003639
Snippet name: musicFilesTable
Eternal ID of this version: #1003639/2
Text MD5: d269000e5085f0e13fc02745856958b9
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-21 16:26:09
Source code size: 309 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 580 / 657
Version history: 1 change(s)
Referenced in: [show references]