static <A> A nuLike shallowCloneToClass(Class<A> c, O o) { if (o == null) null; A a = nuInstance(c); copyFields(o, a); ret a; }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1015060 |
Snippet name: | shallowCloneToClass - make instance and copyFields; returns null on null |
Eternal ID of this version: | #1015060/6 |
Text MD5: | 4c4dc585af3eda8086f4b81657d34995 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-06-09 14:59:45 |
Source code size: | 140 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 502 / 551 |
Version history: | 5 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1020417 - shallowCloneToClassWithFields #1020564 - shallowCloneListToClass #1024798 - shallowNonTransientCloneToClass - make instance and copyNonTransientFields; returns null on null |