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

7
LINES

< > BotCompany Repo | #1014162 // indexedSimpleWikipedia - produces a "magic" map that loads on demand

JavaX fragment (include)

static Map<S, WikiPage> indexedSimpleWikipedia() {
  final File f = unpackSimpleWikipedia();
  final Map<S, IndexedWikiPage> map = ciMap();
  for (IndexedWikiPage ip : indexSimpleWikipedia())
    map.put(ip.title, ip);
  ret indexedSimpleWikipedia_magicMap(map);
}

Author comment

Began life as a copy of #1014153

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: #1014162
Snippet name: indexedSimpleWikipedia - produces a "magic" map that loads on demand
Eternal ID of this version: #1014162/11
Text MD5: 531e6920c597b0ab95c247153c727500
Author: stefan
Category: javax / a.i. / networking
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-15 14:17:30
Source code size: 270 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 354 / 382
Version history: 10 change(s)
Referenced in: [show references]