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

15
LINES

< > BotCompany Repo | #1001139 // quickBotScan

JavaX fragment (include)

static L<ProgramScan.Program> quickBotScan() {
  return ProgramScan.quickBotScan();
}

static L<ProgramScan.Program> quickBotScan(int[] preferredPorts) {
  return ProgramScan.quickBotScan(preferredPorts);
}

static L<ProgramScan.Program> quickBotScan(S searchPattern) {
  L<ProgramScan.Program> l = new ArrayList<ProgramScan.Program>();
  for (ProgramScan.Program p : ProgramScan.quickBotScan())
    if (indexOfIgnoreCase(p.helloString, searchPattern) == 0)
      l.add(p);
  return l;
}

Author comment

Began life as a copy of #1001039

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1001139
Snippet name: quickBotScan
Eternal ID of this version: #1001139/1
Text MD5: 43392d4f1eb1aa1efb3a6a617d82549c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-02-22 01:47:02
Source code size: 503 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 635 / 3071
Referenced in: #1000985 - swing-top - List running programs & bots (old)
#1002427 - Accellerating 629 (SPIKE)
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#3000188 - Answer for stefanreich(>> t search)
#3000202 - Answer for stefanreich (>> T conversion bot)
#3000238 - Answer for stefanreich (>> t power bot)
#3000382 - Answer for ferdie (>> t = 1, f = 0)