public class ClassTree extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ClassTree.ClassNode
Tree node representing a single class.
|
static class |
ClassTree.PackageNode
Tree node representing a single class.
|
Constructor and Description |
---|
ClassTree() |
Modifier and Type | Method and Description |
---|---|
static TreeNode |
build(List<Class<?>> choices,
String rootpkg)
Build the class tree for a given set of choices.
|
private static MutableTreeNode |
simplifyTree(MutableTreeNode cur,
String prefix)
Simplify the tree.
|
public static TreeNode build(List<Class<?>> choices, String rootpkg)
choices
- Class choicesrootpkg
- Root package name (to strip / hide)private static MutableTreeNode simplifyTree(MutableTreeNode cur, String prefix)
cur
- Current nodeprefix
- Prefix to addCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.