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

7
LINES

< > BotCompany Repo | #1013401 // renderStructs

JavaX fragment (include)

1  
static S renderStructs(O... params) {
2  
  new L<S> l;
3  
  if (odd(l(params))) l.add(addSuffix(str(first(params)), ":"));
4  
  for (int i = l(params) & 1; i+1 < l(params); i += 2)
5  
    l.add(params[i] + "=" + sfu(params[i+1]));
6  
  ret joinWithSpace(l);
7  
}

Author comment

Began life as a copy of #1013193

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: #1013401
Snippet name: renderStructs
Eternal ID of this version: #1013401/5
Text MD5: 3ca54f72d832b90ed9fd0b89b5952cf6
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-15 15:44:03
Source code size: 250 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 511 / 565
Version history: 4 change(s)
Referenced in: [show references]