static L<WebNode> indexedNodes_withInvalids(CharSequence _s) { S s = str(_s); L<WebNode> l = indexedNodes_rawLookup(s); for (VirtualNodeIndex i : concurrentlyIterateList(virtualNodeIndices())) { L x = i.get(s); if (nempty(x)) { //print("Word " + s + ". " + className(i) + " adding " + l(x) + " to " + l(l)); if (empty(l)) l = x; else { if (!l instanceof CombinedList) l = combinedList_ll(l); l/CombinedList.addList(x); } } } ret assertNotNull(l); } ifclass AI_SubSpace static L<WebNode> indexedNodes_withInvalids(AI_SubSpace ss, CharSequence s) { ret ss.indexedNodes_rawLookup(symbol(s)); } endif
Began life as a copy of #1010575
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: | #1011457 |
Snippet name: | indexedNodes_withInvalids |
Eternal ID of this version: | #1011457/17 |
Text MD5: | 34a480e311087a6d6a1635d02a6ef5fd |
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-10 07:33:25 |
Source code size: | 682 bytes / 22 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 453 / 492 |
Version history: | 16 change(s) |
Referenced in: | [show references] |