Libraryless. Click here for Pure Java version (2087L/13K).
static <A> A nuLike shallowNonTransientCloneToClass(Class<A> c, O o) { if (o == null) null; A a = nuInstance(c); copyNonTransientFields(o, a); ret a; }
Began life as a copy of #1015060
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: | #1024798 |
| Snippet name: | shallowNonTransientCloneToClass - make instance and copyNonTransientFields; returns null on null |
| Eternal ID of this version: | #1024798/1 |
| Text MD5: | 2933787ebca5d1a2af5087c77e7fb813 |
| Transpilation MD5: | d68ffe06b1ad6664e328b0a969ffc1cc |
| 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:14:55 |
| Source code size: | 164 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 426 / 551 |
| Referenced in: | [show references] |