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)

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

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: 355 / 384
Version history: 10 change(s)
Referenced in: [show references]