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

6
LINES

< > BotCompany Repo | #1016250 // firstCmdOnPATH_mandatory

JavaX fragment (include)

1  
static S firstCmdOnPATH_mandatory(S... cmds) {
2  
  for (S cmd : cmds)
3  
    if (onPATH(cmd))
4  
      ret cmd;
5  
  fail("None of the commands found on PATH: " + asList(cmds));
6  
}

Author comment

Began life as a copy of #1010488

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1016250
Snippet name: firstCmdOnPATH_mandatory
Eternal ID of this version: #1016250/2
Text MD5: 16fee08a6514d56265396378081940b4
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-12 14:11:47
Source code size: 173 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 397 / 443
Version history: 1 change(s)
Referenced in: [show references]