1 | static Map<BigInt, S> ai_search_allNumbered_asMap(S baseTerm) { |
2 | baseTerm += " "; |
3 | new TreeMap<BigInt, S> map; |
4 | for (S s : fullIndexedTermsStartingWith(baseTerm)) { |
5 | S i = trim(substring(s, l(baseTerm))); |
6 | if (isInteger(i)) |
7 | map.put(bigint(i), s); |
8 | } |
9 | ret map; |
10 | } |
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: | 400 / 443 |
Referenced in: | [show references] |