com.tonbeller.wcf.tree
Class NodeSorter

java.lang.Object
  extended bycom.tonbeller.wcf.tree.NodeSorter

public class NodeSorter
extends java.lang.Object

orders a set of nodes in pre- or postorder according to the tree model

Author:
av

Method Summary
static java.util.List postOrder(java.util.Set nodes, TreeModel model)
           
static java.util.List preOrder(java.util.Set nodes, TreeModel model)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

preOrder

public static java.util.List preOrder(java.util.Set nodes,
                                      TreeModel model)

postOrder

public static java.util.List postOrder(java.util.Set nodes,
                                       TreeModel model)