| Package | Description |
|---|---|
| eu.dnetlib.miscutils.hstree |
| Modifier and Type | Class and Description |
|---|---|
class |
TreeNode<T,N,V,C extends TreeNode<N,?,V,?>>
This class implement statically typed complete tree of finite depth.
|
| Modifier and Type | Class and Description |
|---|---|
class |
NilTreeNode<V>
This is the terminator node in a tree definition chain:
TreeNode
|
| Modifier and Type | Method and Description |
|---|---|
TreeNode<T,N,V,C> |
TreeNode.appendChild(N resource)
This method is especially useful for leaf nodes when you want to append several children to the same parent node,
without having to declare a temporary variable to hold the parent node (which could have long and ugly type)
|
| Modifier and Type | Method and Description |
|---|---|
protected Class<? extends C> |
TreeNode.autoChildNodeType(Class<? extends TreeNode> clazz)
For the curious, this method takes care of retrieving the runtime type information for the tree node element
declared for children nodes.
|
Copyright © 2018. All rights reserved.