1 | sO ccopyFields2_gen(O x, O y, Iterable<S> fields) { |
2 | if (x == null || y == null) ret y; |
3 | for (S field : unnull(fields)) { |
4 | O o = getOpt(x, field); |
5 | call(y, '_setField, field, o); |
6 | } |
7 | ret y; |
8 | } |
Began life as a copy of #1022154
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1022155 |
Snippet name: | ccopyFields2_gen - for concepts |
Eternal ID of this version: | #1022155/5 |
Text MD5: | 980a082aaa8ea1f7b6663c0f01b4c4df |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-09 23:50:06 |
Source code size: | 208 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 269 / 297 |
Version history: | 4 change(s) |
Referenced in: | [show references] |