Libraryless. Click here for Pure Java version (1605L/11K).
1 | static O getTL(O o, S name) {
|
2 | ret getThreadLocal(o, name); |
3 | } |
4 | |
5 | static <A> A getTL(ThreadLocal<A> tl) {
|
6 | ret getThreadLocal(tl); |
7 | } |
8 | |
9 | static <A> A getTL(ThreadLocal<A> tl, A defaultValue) {
|
10 | ret getThreadLocal(tl, defaultValue); |
11 | } |
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: | #1022504 |
| Snippet name: | getTL - synonym of getThreadLocal |
| Eternal ID of this version: | #1022504/2 |
| Text MD5: | 624308be2b96a0df26b8ee6761ed434a |
| Transpilation MD5: | 805b00d3dc22f794e12967e26c34b595 |
| Author: | stefan |
| Category: | |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-07-10 11:53:08 |
| Source code size: | 240 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 523 / 728 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |