static <A> A mapToObject(Map<S, O> map, A o) { if (map == null) ret o; for (S field : keys(map)) setOpt(o, field, map.get(field)); ret o; } static <A> A mapToObject(Map<S, O> map, Class<A> o) { ret mapToObject(map, nu(o)); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1009897 |
Snippet name: | mapToObject |
Eternal ID of this version: | #1009897/4 |
Text MD5: | fec1a4943900d0f6fa1a291f706f861f |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-10-10 18:58:13 |
Source code size: | 248 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 567 / 577 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |