static int copyConceptFields(Concept a, Concept b) { int changes = 0; for (S field : conceptFields(a)) changes += cset(b, field, cget(a, field)); ret changes; } static int copyConceptFields(Concept a, Concept b, S... fields) { int changes = 0; for (S field : fields) changes += cset(b, field, cget(a, field)); ret changes; }
Began life as a copy of #1005041
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005493 |
Snippet name: | copyConceptFields - returns number of fields changed |
Eternal ID of this version: | #1005493/4 |
Text MD5: | 136f4bf33b91148c2b329a0efa7995ed |
Author: | stefan |
Category: | javax / concepts |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-03-24 13:07:24 |
Source code size: | 357 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 564 / 576 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |