1 | static OccTree<E> goodDialogs2occTree(L<Dialog> dialogs) { |
2 | new OccTree<E> tree; |
3 | for (Dialog d : dialogs) |
4 | if (d.good) |
5 | tree.add(d.poem); |
6 | ret tree; |
7 | } |
Began life as a copy of #1003342
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1003404 |
Snippet name: | goodDialogs2occTree - "good" dialogs only |
Eternal ID of this version: | #1003404/1 |
Text MD5: | 9a7572026d8eea0d383bc25ed7556e1f |
Author: | stefan |
Category: | javax / talking robots |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-06-30 20:11:07 |
Source code size: | 168 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 599 / 618 |
Referenced in: | [show references] |