org.dbunit.util.search
Interface ISearchAlgorithm

All Known Implementing Classes:
DepthFirstSearch

public interface ISearchAlgorithm

Interface representing an algorithm that searches a graph.

Since:
Aug 25, 2005
Version:
$Revision: 806 $
Author:
Felipe Leme (dbunit@felipeal.net)

Method Summary
 org.apache.commons.collections.set.ListOrderedSet search(Set nodesFrom, ISearchCallback callback)
          Search all nodes that originates from a set of nodes.
 

Method Detail

search

org.apache.commons.collections.set.ListOrderedSet search(Set nodesFrom,
                                                         ISearchCallback callback)
                                                         throws SearchException
Search all nodes that originates from a set of nodes.

Parameters:
nodesFrom - input nodes
callback - helper callback
Returns:
all nodes, in the right dependent order (like a LinkedHashSet)
Throws:
Exception - exception wrapper
SearchException


Copyright © 2002-2012. All Rights Reserved.