Libraryless. Click here for Pure Java version (2628L/17K).
// returns object static <A> A dm_clearAndReplace(O holderModule, IF0<A> makeNewObject) { dm_replace(holderModule, null); A o = callF(makeNewObject); dm_call(holderModule, 'set, o); ret o; }
Began life as a copy of #1029128
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: | #1029160 |
Snippet name: | dm_clearAndReplace - clear & replace object in Transient Object Holder |
Eternal ID of this version: | #1029160/1 |
Text MD5: | cb9368cbaae7c7d6cc3b2a03c744b6c3 |
Transpilation MD5: | 6d193c9a0d0374cc69a8e1bbb1844675 |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-23 12:08:15 |
Source code size: | 204 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 218 / 288 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |