static AutoCloseable temp_ai_setVars(Map<S, O> map) { final Map<S, O> prev = ai_getVars(); ai_setVars(map); ret new AutoCloseable { public void close() { ai_setVars(prev); }}; } static AutoCloseable temp_ai_setVars(O... values) { ret temp_ai_setVars(paramsToMap(values)); }
Began life as a copy of #1012912
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1012987 |
Snippet name: | temp_ai_setVars - replaces old vars temporarily |
Eternal ID of this version: | #1012987/1 |
Text MD5: | a83195796319125eea51469c07e3a92e |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-19 17:15:18 |
Source code size: | 298 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 372 / 409 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1013428 - temp_ai_setVar - replaces var temporarily |