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

9
LINES

< > BotCompany Repo | #1011585 // ai_withMaker

JavaX fragment (include)

static O ai_withMaker(S maker, O f) {
  //lock aiLock();
  S prev = ai_setMaker(maker);
  try {
    ret callF(f);
  } finally {
    ai_setMaker(prev);
  }
}

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: #1011585
Snippet name: ai_withMaker
Eternal ID of this version: #1011585/3
Text MD5: 29f34b640a5dd28343e8cb92fa438808
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-08 02:05:55
Source code size: 164 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 361 / 390
Version history: 2 change(s)
Referenced in: [show references]