1 | static L<WebNode> indexedNodes_withInvalids(CharSequence _s) {
|
2 | S s = str(_s); |
3 | L<WebNode> l = indexedNodes_rawLookup(s); |
4 | for (VirtualNodeIndex i : concurrentlyIterateList(virtualNodeIndices())) {
|
5 | L x = i.get(s); |
6 | if (nempty(x)) {
|
7 | //print("Word " + s + ". " + className(i) + " adding " + l(x) + " to " + l(l));
|
8 | if (empty(l)) l = x; |
9 | else {
|
10 | if (!l instanceof CombinedList) l = combinedList_ll(l); |
11 | l/CombinedList.addList(x); |
12 | } |
13 | } |
14 | } |
15 | ret assertNotNull(l); |
16 | } |
17 | |
18 | ifclass AI_SubSpace |
19 | static L<WebNode> indexedNodes_withInvalids(AI_SubSpace ss, CharSequence s) {
|
20 | ret ss.indexedNodes_rawLookup(symbol(s)); |
21 | } |
22 | 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: | 683 / 734 |
| Version history: | 16 change(s) |
| Referenced in: | [show references] |