Class TreeImpl<T>
java.lang.Object
org.aksw.commons.collections.trees.TreeBase<T>
org.aksw.commons.collections.trees.TreeImpl<T>
- All Implemented Interfaces:
Tree<T>
-
Field Details
-
root
-
parentToChildren
-
childToParent
-
copyNode
-
-
Constructor Details
-
TreeImpl
-
-
Method Details
-
createNew
-
getRoot
-
getChildren
-
getParent
-
create
-
hashCode
public int hashCode() -
equals
-
toString
-
copy
Description copied from interface:TreeCopies a given node thereby setting the provided children as its children.- Returns:
- A copy of the given node with the children set appropriately
-