mapss.dif.softsyn.util
Class DIFHierarchyUtilities

java.lang.Object
  extended by mapss.dif.softsyn.util.DIFHierarchyUtilities

public class DIFHierarchyUtilities
extends java.lang.Object

The DIFHierarchy utilities. This class contains utilities for manipulating DIFHierarchy.

Version:
$Id: DIFHierarchyUtilities.java 1688 2007-05-09 02:22:30Z jerryhsu $
Author:
Chia-Jui Hsu

Method Summary
static java.util.LinkedList retrieveHierarchies(DIFHierarchy hierarchy)
          This method will retrieve all hierarchies inside the top level DIFHierarchy and put them into a LinkedList in depth first order.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

retrieveHierarchies

public static java.util.LinkedList retrieveHierarchies(DIFHierarchy hierarchy)
This method will retrieve all hierarchies inside the top level DIFHierarchy and put them into a LinkedList in depth first order. Hierarchies in the same level are stored in a LinkedList. This method returns a LinkedList of LinkedLists of DIFHierarchys in the lowest level first order.

Parameters:
hierarchy - A DIFHierarchy object.
Returns:
A LinkedList of LinkedLists of DIFHierarchys.