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

8
LINES

< > BotCompany Repo | #1012045 // ai_addWebToIndex_noNotify

JavaX fragment (include)

1  
static void ai_addWebToIndex_noNotify(MultiMap<S, WebNode> index, Web web) {
2  
  if (web == null) ret;
3  
  for (WebNode node : web_nodesAndRelations(web))
4  
    for (S text : asSet(node.texts()))
5  
      synchronized(index) {
6  
        index.put(ai_shortenForIndex(text), node);
7  
      }
8  
}

Author comment

Began life as a copy of #1011366

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: #1012045
Snippet name: ai_addWebToIndex_noNotify
Eternal ID of this version: #1012045/1
Text MD5: ee9061632b778072dca322ea278544ed
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-17 02:00:35
Source code size: 285 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 407 / 429
Referenced in: [show references]