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

13
LINES

< > BotCompany Repo | #1026812 // DynamicFunctionsLoader (current + loading set, dev.)

JavaX fragment (include)

sclass DynamicFunctionsLoader {
  new FunctionsLoader current;
  FunctionsLoader loading;
  HashSet<S> newSet;

  void loadNewSet(Cl<S> functions) {
    if (current == null)
    if (eq(current
    if (eq(newSet,
    dispose loading;
    loading = new FunctionsLoader(functions);
  }
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1026812
Snippet name: DynamicFunctionsLoader (current + loading set, dev.)
Eternal ID of this version: #1026812/1
Text MD5: d3b0fa4f8b9e3de34c5b32152804ddca
Author: stefan
Category: javax / code loading
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-23 19:59:42
Source code size: 296 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 112 / 130
Referenced in: [show references]