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

9
LINES

< > BotCompany Repo | #1001330 // getListOfRunningProgramIDs

JavaX fragment (include)

static L<S> getListOfRunningProgramIDs() {
  new Set<S> l;
  for (ProgramScan.Program p : quickBotScan()) {
    if (p.helloString.startsWith("This is a JavaX VM")) {
      l.add(formatSnippetID(sendToLocalBot(p.port, "what is your program id?")));
    }
  }
  return asList(l);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1001330
Snippet name: getListOfRunningProgramIDs
Eternal ID of this version: #1001330/1
Text MD5: 868834f3cfa7b445d425a8398cb27074
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-10-10 15:27:44
Source code size: 287 bytes / 9 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 615 / 850
Referenced in: [show references]