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

7
LINES

< > BotCompany Repo | #1003404 // goodDialogs2occTree - "good" dialogs only

JavaX fragment (include)

static OccTree<E> goodDialogs2occTree(L<Dialog> dialogs) {
  new OccTree<E> tree;
  for (Dialog d : dialogs)
    if (d.good)
      tree.add(d.poem);
  ret tree;
}

Author comment

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: 520 / 534
Referenced in: [show references]