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

10
LINES

< > BotCompany Repo | #1012524 // ai_search_allNumbered

JavaX fragment (include)

1  
static L<S> ai_search_allNumbered(S baseTerm) {
2  
  baseTerm += " ";
3  
  new L<S> l;
4  
  for (S s : fullIndexedTermsStartingWith(baseTerm)) {
5  
    S i = trim(substring(s, l(baseTerm)));
6  
    if (isInteger(i))
7  
      l.add(s);
8  
  }
9  
  ret l;
10  
}

Author comment

Began life as a copy of #1012520

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: #1012524
Snippet name: ai_search_allNumbered
Eternal ID of this version: #1012524/1
Text MD5: 15f543a66d7e64c84ca0fe5e2238a2bd
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-06 20:38:34
Source code size: 240 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 399 / 447
Referenced in: [show references]