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)

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

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: 405 / 426
Referenced in: [show references]