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

11
LINES

< > BotCompany Repo | #1013164 // ai_html_listStructWithLinks

JavaX fragment (include)

1  
static S ai_html_listStructWithLinks(L l) {
2  
  if (l == null) ret "null";
3  
  new L<S> out;
4  
  for (O o : l) {
5  
    if (o instanceof S)
6  
      out.add(ai_html_encyclopediaTopic_quoted((S) o));
7  
    else
8  
      out.add(htmlencode(sfu(o)));
9  
  }
10  
  ret "[" + joinWithComma(out) + "]";
11  
}

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: #1013164
Snippet name: ai_html_listStructWithLinks
Eternal ID of this version: #1013164/2
Text MD5: 1e79a911b804a64e1951a4b1a8e71543
Author: stefan
Category: javax / a.i. / html
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-27 02:46:55
Source code size: 284 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 366 / 385
Version history: 1 change(s)
Referenced in: [show references]