com.algosome.common.util
Class Node<T>

java.lang.Object
  extended by com.algosome.common.util.Node<T>
Type Parameters:
T -

public class Node<T>
extends java.lang.Object

Defines a Node in a Tree data structure

Author:
Greg Cope

Constructor Summary
Node(T t)
           
 
Method Summary
 void addChild(Node<T> child)
           
 java.util.List<Node<T>> getChildren()
           
 T getUserObject()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Node

public Node(T t)
Method Detail

getUserObject

public T getUserObject()

getChildren

public java.util.List<Node<T>> getChildren()

addChild

public void addChild(Node<T> child)