Uses 865K of libraries. Click here for Pure Java version (6796L/47K/161K).
1 | !7 |
2 | |
3 | static Map<S, WikiPage> wp; |
4 | |
5 | p { |
6 | time "Open Wikipedia" { |
7 | wp = indexedSimpleWikipedia_fast(); |
8 | } |
9 | |
10 | set indexedSimpleWikipedia_magicMap_debug; |
11 | print("First key: " + firstKey(wp)); |
12 | print("Size: " + l(wp)); |
13 | WikiPage page; |
14 | print("Love: " + sfu(page = wp.get("love")); |
15 | assertEquals("Love", page.title); |
16 | print("xsfere: " + sfu(page = wp.get("xsfere")); |
17 | assertNull(page); |
18 | print("OK"); |
19 | } |
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: | 302 / 385 |
Version history: | 4 change(s) |
Referenced in: | [show references] |