1 | static OccTree<E> dialogs2occTree(L<Dialog> dialogs) {
|
2 | new OccTree<E> tree; |
3 | for (Dialog d : dialogs) |
4 | tree.add(listPlus(d.poem, E.state(d.good ? "good" : "bad"))); |
5 | ret tree; |
6 | } |
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: | #1003342 |
| Snippet name: | dialogs2occTree |
| Eternal ID of this version: | #1003342/1 |
| Text MD5: | 615be927f5aafca0a6d4514bb520925c |
| 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-19 22:46:20 |
| Source code size: | 189 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 779 / 807 |
| Referenced in: | [show references] |