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

5
LINES

< > BotCompany Repo | #1032751 // getWeakRef_genOrNull

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (30L/1K).

sO getWeakRef_genOrNull(O ref) {
  if (ref cast Reference)
    ret ref!;
  null;
}

Author comment

Began life as a copy of #1016796

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1032751
Snippet name: getWeakRef_genOrNull
Eternal ID of this version: #1032751/1
Text MD5: 9869f579a654c1f6f34e9f31056563f9
Transpilation MD5: 4cbb36a5d493747a12e52383d275862c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-04 08:43:38
Source code size: 86 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 122 / 189
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)