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

15
LINES

< > BotCompany Repo | #1023429 // Module Code Share Base [dev.]

JavaX source code (Dynamic Module) - run with: Stefan's OS

!7

cmodule CodeShareBase > DynPrintLogAndEnabled {
  transient Map<S, Class> codeBase; // snippet ID -> main class
  
  // API
  
  Class getCodeForSnippetID(S snippetID) {
    ret codeBase.get(fsI(snippetID));
  }
  
  Class saveCode(S snippetID, Class code) {
    codeBase.put(fsI(snippetID), code);
  }
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1023429
Snippet name: Module Code Share Base [dev.]
Eternal ID of this version: #1023429/1
Text MD5: 1669f1e15a997a60ab03ed0838c4f42e
Author: stefan
Category: javax / stefan's os
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-06-21 14:02:52
Source code size: 322 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 291 / 302
Referenced in: [show references]