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

3
LINES

< > BotCompany Repo | #1024801 // shallowNonTransientClone - make instance and copyNonTransientFields; returns null on null

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

Libraryless. Click here for Pure Java version (2092L/13K).

static <A> A nuLike shallowNonTransientClone(A o) {
  ret o == null ? null : (A) shallowNonTransientCloneToClass(o.getClass(), o);
}

Author comment

Began life as a copy of #1024798

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: #1024801
Snippet name: shallowNonTransientClone - make instance and copyNonTransientFields; returns null on null
Eternal ID of this version: #1024801/4
Text MD5: a4289e8a2aa3d3ad113f4367a13b0c93
Transpilation MD5: dfbcd9ba43403efc2e13b7277fca8a49
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-25 21:17:48
Source code size: 134 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 172 / 239
Version history: 3 change(s)
Referenced in: [show references]