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

14
LINES

< > BotCompany Repo | #1014163 // Test indexedSimpleWikipedia (OK)

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

Uses 865K of libraries. Click here for Pure Java version (6719L/46K/160K).

!7

p {
  Map<S, WikiPage> map = indexedSimpleWikipedia();
  set indexedSimpleWikipedia_magicMap_debug;
  print("First key: " + firstKey(map));
  print("Size: " + l(map));
  WikiPage page;
  print("Love: " + sfu(page = map.get("love"));
  assertEquals("Love", page.title);
  print("xsfere: " + sfu(page = map.get("xsfere"));
  assertNull(page);
  print("OK");
}

Author comment

Began life as a copy of #1014160

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: #1014163
Snippet name: Test indexedSimpleWikipedia (OK)
Eternal ID of this version: #1014163/7
Text MD5: 7c596e7170c2370eebab7f3b317b07bf
Transpilation MD5: c085c90fdb3cd1dd9005a0ae53b94c7c
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:17:39
Source code size: 376 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 285 / 372
Version history: 6 change(s)
Referenced in: [show references]