@author: add email address
This commit is contained in:
parent
a39fa049c2
commit
8aa8abe329
6 changed files with 10 additions and 10 deletions
|
@ -35,9 +35,9 @@ import java.util.Set;
|
|||
* An abstract node item, providing default implementations for most read-only
|
||||
* operations.
|
||||
*
|
||||
* @author Paul Campbell
|
||||
*
|
||||
* @param <T> the type of data stored in each node
|
||||
*
|
||||
* @author Paul Campbell (pcampbell@kemitix.net)
|
||||
*/
|
||||
abstract class AbstractNodeItem<T> implements Node<T> {
|
||||
|
||||
|
|
|
@ -35,9 +35,9 @@ import java.util.Set;
|
|||
* getData()} they could then modify the original data within the node. This
|
||||
* wouldn't affect the integrity of the node tree structure, however.</p>
|
||||
*
|
||||
* @author Paul Campbell
|
||||
*
|
||||
* @param <T> the type of data stored in each node
|
||||
*
|
||||
* @author Paul Campbell (pcampbell@kemitix.net)
|
||||
*/
|
||||
final class ImmutableNodeItem<T> extends AbstractNodeItem<T> {
|
||||
|
||||
|
|
|
@ -31,9 +31,9 @@ import java.util.Set;
|
|||
/**
|
||||
* An interface for tree node items.
|
||||
*
|
||||
* @author Paul Campbell
|
||||
*
|
||||
* @param <T> the type of data held in each node
|
||||
*
|
||||
* @author Paul Campbell (pcampbell@kemitix.net)
|
||||
*/
|
||||
public interface Node<T> {
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ package net.kemitix.node;
|
|||
/**
|
||||
* Represents an error within the tree node.
|
||||
*
|
||||
* @author pcampbell
|
||||
* @author Paul Campbell (pcampbell@kemitix.net)
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class NodeException extends RuntimeException {
|
||||
|
|
|
@ -36,9 +36,9 @@ import java.util.Set;
|
|||
/**
|
||||
* Represents a tree of nodes.
|
||||
*
|
||||
* @author Paul Campbell
|
||||
*
|
||||
* @param <T> the type of data stored in each node
|
||||
*
|
||||
* @author Paul Campbell (pcampbell@kemitix.net)
|
||||
*/
|
||||
class NodeItem<T> implements Node<T> {
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ import java.util.stream.Collectors;
|
|||
/**
|
||||
* Utility class for {@link Node} items.
|
||||
*
|
||||
* @author pcampbell
|
||||
* @author Paul Campbell (pcampbell@kemitix.net)
|
||||
*/
|
||||
public final class Nodes {
|
||||
|
||||
|
|
Loading…
Reference in a new issue