net.ggtools.grand.graph
Class ForwardLinkFinder

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

public class ForwardLinkFinder
extends java.lang.Object
implements LinkFinder

A link finder returning links starting from nodes.

Author:
Christophe Labouisse

Constructor Summary
ForwardLinkFinder()
           
 
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

ForwardLinkFinder

public ForwardLinkFinder()
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.