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)

1  
sclass DynamicFunctionsLoader {
2  
  new FunctionsLoader current;
3  
  FunctionsLoader loading;
4  
  HashSet<S> newSet;
5  
6  
  void loadNewSet(Cl<S> functions) {
7  
    if (current == null)
8  
    if (eq(current
9  
    if (eq(newSet,
10  
    dispose loading;
11  
    loading = new FunctionsLoader(functions);
12  
  }
13  
}

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: 212 / 224
Referenced in: [show references]