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

5
LINES

< > BotCompany Repo | #1021043 // dm_restartModuleWithParams - use same module ID, discard fields, set params

JavaX fragment (include)

1  
sO dm_restartModuleWithParams(O mod, O... params) {
2  
  S libID = dm_moduleLibID(mod);
3  
  dm_deleteModule(mod);
4  
  ret dm_showNewModuleWithParams(libID, params);
5  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1021043
Snippet name: dm_restartModuleWithParams - use same module ID, discard fields, set params
Eternal ID of this version: #1021043/3
Text MD5: 466422a8f3874626be1c81b16de29e4f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-01-19 17:24:03
Source code size: 163 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 274 / 318
Version history: 2 change(s)
Referenced in: [show references]