Libraryless. Click here for Pure Java version (2408L/15K).
1 | static <A> A copyAllFieldsExcept(O x, A y, S... withoutFields) {
|
2 | if (x == null || y == null) ret y; |
3 | ret copyFields(x, y, listMinus(fieldNames(x), withoutFields)); |
4 | } |
Began life as a copy of #1002178
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: | #1026739 |
| Snippet name: | copyAllFieldsExcept |
| Eternal ID of this version: | #1026739/3 |
| Text MD5: | 3ce2578a44bb8afeeb45a1663945a265 |
| Transpilation MD5: | 946c4e90892638c890612a1efeea223a |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-01-19 21:46:37 |
| Source code size: | 171 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 435 / 549 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |