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

10
LINES

< > BotCompany Repo | #1003639 - musicFilesTable

JavaX fragment (include)

static L musicFilesTable() {
  ret musicFilesTable(findMusicFiles());
}

static L musicFilesTable(L<File> files) {
  new L data;
  for (File f : files)
    data.add(litorderedmap("Name", f.getName(), "Location", f.getParentFile().getAbsolutePath()));
  ret sortedByFields(data, "Location", "Name");
}

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: 471 / 533
Version history: 1 change(s)
Referenced in: [show references]