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

10
LINES

< > BotCompany Repo | #1019565 // indexesInSpeechLog

JavaX fragment (include)

1  
static L<Int> indexesInSpeechLog(S s) {
2  
  new L<Int> l;
3  
  int i = 0;
4  
  for (S line : fullSpeechLog()) {
5  
    if (match(s, line))
6  
      l.add(i);
7  
    ++i;
8  
  }
9  
  ret l;
10  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1019565
Snippet name: indexesInSpeechLog
Eternal ID of this version: #1019565/1
Text MD5: 5a2aeb76cf106c3fde91b371573a50b0
Author: stefan
Category: javax / html
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-12 03:47:52
Source code size: 176 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 259 / 304
Referenced in: [show references]