Uses 865K of libraries. Click here for Pure Java version (6719L/46K/160K).
1 | !7 |
2 | |
3 | p {
|
4 | Map<S, WikiPage> map = indexedSimpleWikipedia(); |
5 | set indexedSimpleWikipedia_magicMap_debug; |
6 | print("First key: " + firstKey(map));
|
7 | print("Size: " + l(map));
|
8 | WikiPage page; |
9 | print("Love: " + sfu(page = map.get("love"));
|
10 | assertEquals("Love", page.title);
|
11 | print("xsfere: " + sfu(page = map.get("xsfere"));
|
12 | assertNull(page); |
13 | print("OK");
|
14 | } |
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: | 560 / 713 |
| Version history: | 6 change(s) |
| Referenced in: | [show references] |