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

3
LINES

< > BotCompany Repo | #1025224 // wrapAs - invoke single argument constructor; pass null as null

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

Libraryless. Click here for Pure Java version (2198L/14K).

1  
static <A> A nuLike wrapAs(Class<A> c, O o) {
2  
  ret o == null ? null : nuObject(c, o);
3  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1025224
Snippet name: wrapAs - invoke single argument constructor; pass null as null
Eternal ID of this version: #1025224/4
Text MD5: 7689cb3e7bebd21336d5ffdace53d2ad
Transpilation MD5: 4a70106fe149ee77b288962087612c73
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-13 18:01:14
Source code size: 90 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 215 / 310
Version history: 3 change(s)
Referenced in: [show references]