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

3
LINES

< > BotCompany Repo | #1016864 // newWeakReference - new WeakReference(...) with null propagation

JavaX fragment (include)

1  
static <A> WeakReference<A> newWeakReference(A a) {
2  
  ret a == null ? null : new WeakReference(a);
3  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1016864
Snippet name: newWeakReference - new WeakReference(...) with null propagation
Eternal ID of this version: #1016864/1
Text MD5: d6eb66587f4bca7988db61c41d130e0d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-05 21:13:38
Source code size: 102 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 414 / 505
Referenced in: [show references]