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

13
LINES

< > BotCompany Repo | #1014160 // Test indexSimpleWikipedia (OK)

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

Uses 865K of libraries. Click here for Pure Java version (6609L/45K/156K).

1  
!7
2  
3  
p {
4  
  //consoleAutoScrollOff();
5  
  maxConsoleChars(10000);
6  
  int n = 0;
7  
  for (IndexedWikiPage page : indexSimpleWikipedia()) {
8  
    ++n;
9  
    if ((n % 1000) == 0) printStruct(page);
10  
    //if +n >= 100000) sleep();
11  
  }
12  
  print("Have " + n + " pages");
13  
}

Author comment

Began life as a copy of #1008068

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: #1014160
Snippet name: Test indexSimpleWikipedia (OK)
Eternal ID of this version: #1014160/6
Text MD5: 3cc6a91df64a958aaaecb232e3da4d7f
Transpilation MD5: 097a76e42cfc145baf1e764ee032b8ff
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 13:50:17
Source code size: 268 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 418 / 553
Version history: 5 change(s)
Referenced in: [show references]