1 | static File fileAsArgumentOr(S[] args, F0<File> f) { |
2 | ret nempty(args) ? newFile(first(args)) : callF(f); |
3 | } |
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: | #1018542 |
Snippet name: | fileAsArgumentOr |
Eternal ID of this version: | #1018542/2 |
Text MD5: | 415fe46157cd331cc814883624c24302 |
Author: | stefan |
Category: | javax / program arguments |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-04 00:13:23 |
Source code size: | 110 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 336 / 355 |
Version history: | 1 change(s) |
Referenced in: | [show references] |