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

19
LINES

< > BotCompany Repo | #1024287 // Test ConceptsLoadedOnDemand (OK)

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

Download Jar. Libraryless. Click here for Pure Java version (14396L/101K).

!7

concept A { S a; }

p-exp {
  new ConceptsLoadedOnDemand cc;
  
  Concepts c1 = cc.get("case 1");
  assertSame(c1, cc.get("case 1"));
  uniq(c1, A, a := "bla");
  pnlStruct(list(c1, A));
  
  Concepts c2 = cc.get("case 2");
  assertSame(c2, cc.get("case 2"));
  uniq(c2, A, a := "blubb");
  pnlStruct(list(c2, A));
  
  cleanUp(cc);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1024287
Snippet name: Test ConceptsLoadedOnDemand (OK)
Eternal ID of this version: #1024287/3
Text MD5: cf8456ce9bbd7c71c79f2a8df720e93c
Transpilation MD5: 2a5d05db7c75963003e738710c820d37
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-29 14:20:10
Source code size: 356 bytes / 19 lines
Pitched / IR pitched: No / No
Views / Downloads: 144 / 632
Version history: 2 change(s)
Referenced in: [show references]