1 | // e.g. connector = ": " |
2 | sS formatProperties_reversed(S connector, Map map) {
|
3 | ret lines(mapMapToList(map, func(O key, O value) -> S {
|
4 | value + connector + key |
5 | })); |
6 | } |
Began life as a copy of #1027787
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: | #1027802 |
| Snippet name: | formatProperties_reversed - "value => key" |
| Eternal ID of this version: | #1027802/1 |
| Text MD5: | 9842e400877856fee27109558651eedd |
| Author: | stefan |
| Category: | javax / formatting |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-04-13 13:30:16 |
| Source code size: | 177 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 349 / 376 |
| Referenced in: | [show references] |