{Node,NodeItem}: javadoc tidy
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
This commit is contained in:
parent
d9d19a849e
commit
9daebcea46
2 changed files with 3 additions and 2 deletions
|
@ -7,8 +7,9 @@ import java.util.Set;
|
|||
/**
|
||||
* An interface for tree node items.
|
||||
*
|
||||
* @author pcampbell
|
||||
* @param <T> the type of data held in each node
|
||||
*
|
||||
* @author pcampbell
|
||||
*/
|
||||
public interface Node<T> {
|
||||
|
||||
|
@ -21,7 +22,6 @@ public interface Node<T> {
|
|||
|
||||
/**
|
||||
* Fetch the parent node.
|
||||
*
|
||||
* <p>
|
||||
* If the node is a root node, i.e. has no parent, then this will return
|
||||
* null.
|
||||
|
|
|
@ -116,6 +116,7 @@ public class NodeItem<T> implements Node<T> {
|
|||
* Walks the node tree using the path to select each child.
|
||||
*
|
||||
* @param path the path to the desired child
|
||||
*
|
||||
* @return the child or null
|
||||
*/
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue