Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1027802 // formatProperties_reversed - "value => key"

JavaX fragment (include)

// e.g. connector = ": "
sS formatProperties_reversed(S connector, Map map) {
  ret lines(mapMapToList(map, func(O key, O value) -> S {
    value + connector + key
  }));
}

Author comment

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: 156 / 179
Referenced in: [show references]