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

6
LINES

< > BotCompany Repo | #1027787 // formatProperties

JavaX fragment (include)

1  
// e.g. connector = ": "
2  
sS formatProperties(S connector, Map map) {
3  
  ret lines(mapMapToList(map, func(O key, O value) -> S {
4  
    str(key) + connector + str(value)
5  
  }));
6  
}

Author comment

Began life as a copy of #1022374

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: #1027787
Snippet name: formatProperties
Eternal ID of this version: #1027787/1
Text MD5: 0a257a4e8295088d2ddb2b07beffeccf
Author: stefan
Category: javax / formatting
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-04-11 19:45:39
Source code size: 178 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 175 / 202
Referenced in: [show references]