// o is either a map already (string->object) or an arbitrary object, // in which case its fields are converted into a map. static Map<S, O> objectAsMap(O o) { ret objectToMap(o); } // same for a collection (convert each element) static L<Map<S, O>> objectAsMap(Collection l) { ret objectToMap(l); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1016557 |
| Snippet name: | objectAsMap - synonym of objectToMap |
| Eternal ID of this version: | #1016557/1 |
| Text MD5: | c29179a7a39594be8a13da11f2bd4a48 |
| Author: | stefan |
| Category: | |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-06-23 15:23:35 |
| Source code size: | 311 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 669 / 713 |
| Referenced in: | [show references] |