net.ggtools.grand.graph
Class ConnectedNodesFinder

java.lang.Object
  extended by net.ggtools.grand.graph.ConnectedNodesFinder
All Implemented Interfaces:
LinkFinder

public class ConnectedNodesFinder
extends java.lang.Object
implements LinkFinder

A finder returning both backward and forward node.

Author:
Christophe Labouisse

Constructor Summary
ConnectedNodesFinder()
           
 
Method Summary
 java.util.Collection getLinks(Node node)
          Returns all the accessible nodes from a specific one.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectedNodesFinder

public ConnectedNodesFinder()
Method Detail

getLinks

public java.util.Collection getLinks(Node node)
Description copied from interface: LinkFinder
Returns all the accessible nodes from a specific one. Implementations should insure that the returned collection will only contains Node objects.

Specified by:
getLinks in interface LinkFinder
Parameters:
node - node to consider.
Returns:
a collection of accessible nodes.


Copyright © 2004-2005 ggTools. All Rights Reserved.