org.dbunit.util.search
Interface ISearchAlgorithm

All Known Implementing Classes:
DepthFirstSearch

public interface ISearchAlgorithm

Interface representing an algorithm that searchs a graph.

Since:
Aug 25, 2005
Version:
$Revision: 493 $
Author:
Felipe Leme

Method Summary
 java.util.Set search(java.util.Set nodesFrom, ISearchCallback callback)
          Search all nodes that originates from a set of nodes.
 

Method Detail

search

java.util.Set search(java.util.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:
java.lang.Exception - exception wrapper
SearchException


Copyright © 2002-2009. All Rights Reserved.