Libraryless. Click here for Pure Java version (2757L/17K).
static <A> A cloneWithFields(O o, S... fields) { if (o == null) null; A a = (A) nuInstance(o.getClass()); copyFields(o, a, fields); ret a; }
Began life as a copy of #1020417
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1027930 |
| Snippet name: | cloneWithFields |
| Eternal ID of this version: | #1027930/4 |
| Text MD5: | 65d2f77e27b9dd52e5874142112b70a1 |
| Transpilation MD5: | 004b8b6d3d55c4d1b235ce3db45d6d57 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-04-19 00:20:37 |
| Source code size: | 153 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 459 / 622 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |