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

7
LINES

< > BotCompany Repo | #1018711 // fileNamesStartingWith

JavaX fragment (include)

static L<File> fileNamesStartingWith(Iterable<File> l, fS prefix) {
  ret [File f : unnull(l) | startsWith(fileName(f), prefix)];
}

static L<File> fileNamesStartingWith(File[] l, S prefix) {
  ret fileNamesStartingWith(asList(l), prefix);
}

Author comment

Began life as a copy of #1018654

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1018711
Snippet name: fileNamesStartingWith
Eternal ID of this version: #1018711/3
Text MD5: fecbad625c602e880482bae87931fc4a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-11 17:20:15
Source code size: 247 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 299 / 321
Version history: 2 change(s)
Referenced in: [show references]