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

16
LINES

< > BotCompany Repo | #1030145 // makeOccTree2 (formerly makeOccTree)

JavaX fragment (include)

static OccTree2 makeOccTree2(S theme) {
  ret makeOccTree2(theme, true);
}

static OccTree2 makeOccTree2(S theme, bool print) {
  OccTree2 tree = goodDialogs2occTree2(optExpandDialogs(loadDialogs(theme)));
  if (print)
    printOccTree2(tree);
  ret tree;
}

static OccTree2 makeOccTree2(L<Dialog> dialogs) {
  OccTree2 tree = goodDialogs2occTree2(dialogs);
  printOccTree2(tree);
  ret tree;
}

Author comment

Began life as a copy of #1003472

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030145
Snippet name: makeOccTree2 (formerly makeOccTree)
Eternal ID of this version: #1030145/2
Text MD5: 8656caada08a8e2a10bccd8f02137fbf
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-11-11 14:27:32
Source code size: 409 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 252 / 272
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)