static DialogIO findBot(S searchPattern) { for (ProgramScan.Program p : quickBotScan()) if (indexOfIgnoreCase(p.helloString, searchPattern) == 0) // strict matching - start of hello string only, but case-insensitive return talkTo("localhost", p.port); return null; }
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: | #1001203 |
Snippet name: | findBot |
Eternal ID of this version: | #1001203/1 |
Text MD5: | 06bf369fbc43a516b4c0f495d85aebf4 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-09-30 19:42:53 |
Source code size: | 285 bytes / 6 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 640 / 561 |
Referenced in: | [show references] |