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

19
LINES

< > BotCompany Repo | #1016026 // Snippets DB [Dyn Module, warning: loads whole snippet DB in memory]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 3874K of libraries. Click here for Pure Java version (16515L/122K).

!7

!include #1009918 // main is not run

sclass SnippetsDB extends DynModule {
  transient ReliableSingleThread rst = new(r updateMe);
  
  void start {
    useDBOf(#1009918);
    onConceptsChange(rst);
    fullUpdateAtStart = false;
    snippetsDB_init();
  }
  
  JComponent visualize() {
    ret centerBoldLabel(jLiveValueLabel(dm_calculatedLiveValue(this, S,
      func -> S { n2(countConcepts(CSnippet), "snippet") })));
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1016026
Snippet name: Snippets DB [Dyn Module, warning: loads whole snippet DB in memory]
Eternal ID of this version: #1016026/10
Text MD5: 87ccd67814490cb70659f18a0f3b1166
Transpilation MD5: 8893bc0305283f0841600827c1c100c4
Author: stefan
Category: javax / a.i.
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-06 13:13:01
Source code size: 450 bytes / 19 lines
Pitched / IR pitched: No / No
Views / Downloads: 413 / 556
Version history: 9 change(s)
Referenced in: [show references]