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

21
LINES

< > BotCompany Repo | #1010610 // Test FastWeb [dev.]

JavaX source code (desktop) - run with: x30.jar

Download Jar.

1  
!7
2  
3  
sclass FastNode {
4  
  FastWeb web;
5  
  Symbol[] labels;
6  
  FastNode[] related;
7  
}
8  
9  
sclass FastRelation extends FastNode {
10  
  FastNode a, b;
11  
}
12  
13  
sclass FastWeb {
14  
  new L<FastNode> nodes; // Relations are not in here
15  
  HashMap<Pair<FastNode>, FastRelation> relations = new HashMap;
16  
  new MultiMap<Symbol, WebNode> index; // label -> node
17  
  transient Lock lock = reentrantLock(true);
18  
}
19  
20  
p {
21  
}

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: #1010610
Snippet name: Test FastWeb [dev.]
Eternal ID of this version: #1010610/1
Text MD5: 96400682296a4e731b80a7172fe89aae
Author: stefan
Category: javax / a.i.
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-23 07:19:25
Source code size: 405 bytes / 21 lines
Pitched / IR pitched: No / No
Views / Downloads: 588 / 784
Referenced in: [show references]