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

4
LINES

< > TinyBrain | #1008916 - woodyBot - get/set WoodyBot for thread

JavaX fragment (include)

static new ThreadLocal<WoodyBot> woodyBot_var;

static WoodyBot woodyBot() { ret woodyBot_var!; }
static void woodyBot(WoodyBot bot) { woodyBot_var.set(bot); }

download  show line numbers  debug dex   

Travelled to 2 computer(s): cfunsshuasjs, tvejysmllsmz

No comments. add comment

Snippet ID: #1008916
Snippet name: woodyBot - get/set WoodyBot for thread
Eternal ID of this version: #1008916/3
Text MD5: 3719998c527e5a5f69f6e210353886ca
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-06-18 17:27:15
Source code size: 162 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 14 / 17
Version history: 2 change(s)
Referenced in: [show]