static S dumpConcepts(L<AIConcept> concepts) { new L<S> l; for (AIConcept c : concepts) { S s = " AIConcept(globalID=" + struct(c.globalID) + ", name= " + struct(c.name); if (nempty(c.comment)) s += ", comment=" + struct(c.comment); l.add(s + ")"); } ret print("[\n" + join(",\n", l) + "\n]"); }
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: | #1007667 |
Snippet name: | dumpConcepts |
Eternal ID of this version: | #1007667/8 |
Text MD5: | f8a0e0a4b14578d8a735a94c0f49c7bc |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-03-30 22:24:10 |
Source code size: | 338 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 501 / 509 |
Version history: | 7 change(s) |
Referenced in: | [show references] |