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

8
LINES

< > BotCompany Repo | #1010833 // ai_renderList

JavaX fragment (include)

static S ai_renderList(L l) {
  ret ai_renderList(l, "-");
}

static S ai_renderList(L l, S defaultValue) {
  if (empty(l)) ret defaultValue;
  ret joinWithComma(allToString(l));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1010833
Snippet name: ai_renderList
Eternal ID of this version: #1010833/3
Text MD5: d3f5086de456b94ba395d22c06d3a82d
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-27 05:01:28
Source code size: 187 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 450 / 515
Version history: 2 change(s)
Referenced in: [show references]