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

7
LINES

< > BotCompany Repo | #1022738 // ai_operations - get AIOperations for current thread

JavaX fragment (include)

static new InheritableThreadLocal<AIOperations> ai_operations_tl;

static AIOperations ai_operations() {
  AIOperations o = getTL(ai_operations_tl);
  if (o != null) ret o;
  ret ai_defaultOperations();
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1022738
Snippet name: ai_operations - get AIOperations for current thread
Eternal ID of this version: #1022738/1
Text MD5: 228b01f0f5e19b62af472c99378f7cfe
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-03 19:49:38
Source code size: 210 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 245 / 282
Referenced in: [show references]