org.deegree.commons.struct
Class Tree<T>

java.lang.Object
  extended by org.deegree.commons.struct.Tree<T>

public class Tree<T>
extends Object

Version:
$Revision: $, $Date: $
Author:
Andreas Schmitz, last edited by: $Author: stranger $

Field Summary
 List<Tree<T>> children
           
 T value
           
 
Constructor Summary
Tree()
           
 
Method Summary
 List<T> flattenDepthFirst()
           
 String toString()
           
 String toString(int indent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

children

public List<Tree<T>> children

value

public T value
Constructor Detail

Tree

public Tree()
Method Detail

flattenDepthFirst

public List<T> flattenDepthFirst()

toString

public String toString(int indent)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.