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

4
LINES

< > BotCompany Repo | #1007890 // getThreadLocalOpt

JavaX fragment (include)

static O getThreadLocalOpt(O o, S name) {
  ThreadLocal t = cast getOpt(o, name);
  ret t != null ? t.get() : null;
}

Author comment

Began life as a copy of #1007889

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: #1007890
Snippet name: getThreadLocalOpt
Eternal ID of this version: #1007890/1
Text MD5: 74f54d2a345d87cc6c3282bb5c632fc8
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-13 18:40:21
Source code size: 120 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 491 / 490
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1008758 - getThreadLocal - synonym of getThreadLocalOpt + another version