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

10
LINES

< > BotCompany Repo | #1012844 // ai_search_allNumbered_asMap

JavaX fragment (include)

static Map<BigInt, S> ai_search_allNumbered_asMap(S baseTerm) {
  baseTerm += " ";
  new TreeMap<BigInt, S> map;
  for (S s : fullIndexedTermsStartingWith(baseTerm)) {
    S i = trim(substring(s, l(baseTerm)));
    if (isInteger(i))
      map.put(bigint(i), s);
  }
  ret map;
}

Author comment

Began life as a copy of #1012524

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: #1012844
Snippet name: ai_search_allNumbered_asMap
Eternal ID of this version: #1012844/1
Text MD5: 5840eaff0b299edc62bc60469983b679
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-14 18:38:10
Source code size: 287 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 401 / 444
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)