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

19
LINES

< > BotCompany Repo | #1014168 // Test indexedSimpleWikipedia_fast (OK)

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Uses 865K of libraries. Click here for Pure Java version (6796L/47K/161K).

!7

static Map<S, WikiPage> wp;

p {
  time "Open Wikipedia" {
    wp = indexedSimpleWikipedia_fast();
  }
  
  set indexedSimpleWikipedia_magicMap_debug;
  print("First key: " + firstKey(wp));
  print("Size: " + l(wp));
  WikiPage page;
  print("Love: " + sfu(page = wp.get("love"));
  assertEquals("Love", page.title);
  print("xsfere: " + sfu(page = wp.get("xsfere"));
  assertNull(page);
  print("OK");
}

Author comment

Began life as a copy of #1014163

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: #1014168
Snippet name: Test indexedSimpleWikipedia_fast (OK)
Eternal ID of this version: #1014168/5
Text MD5: 6f988d692ed3f8ff0a1d164920b7d06e
Transpilation MD5: 62727a838cfec117505b3f1d164427ad
Author: stefan
Category: javax / a.i. / networking
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-15 14:41:44
Source code size: 428 bytes / 19 lines
Pitched / IR pitched: No / No
Views / Downloads: 297 / 378
Version history: 4 change(s)
Referenced in: [show references]