Package net.ggtools.grand.filters
Class ConnectedToNodeFilter
- java.lang.Object
-
- net.ggtools.grand.filters.AbstractGraphFilter
-
- net.ggtools.grand.filters.GraphWalkFilter
-
- net.ggtools.grand.filters.ConnectedToNodeFilter
-
- All Implemented Interfaces:
GraphFilter
,GraphConsumer
,GraphProducer
public class ConnectedToNodeFilter extends GraphWalkFilter implements GraphFilter
A graph filter returning all nodes connected to a specific node be it through forward or backward links (or both).- Author:
- Christophe Labouisse
-
-
Field Summary
-
Fields inherited from class net.ggtools.grand.filters.AbstractGraphFilter
name
-
-
Constructor Summary
Constructors Constructor Description ConnectedToNodeFilter(String nodeName)
Creates a new filter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LinkFinder
getLinkFinder()
Method getLinkFinder.-
Methods inherited from class net.ggtools.grand.filters.GraphWalkFilter
getFilteredNodes
-
Methods inherited from class net.ggtools.grand.filters.AbstractGraphFilter
getGraph, getGraphProducer, getName, getProducersGraph, setProducer
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.ggtools.grand.graph.GraphConsumer
setProducer
-
Methods inherited from interface net.ggtools.grand.filters.GraphFilter
getName
-
Methods inherited from interface net.ggtools.grand.graph.GraphProducer
getGraph
-
-
-
-
Constructor Detail
-
ConnectedToNodeFilter
public ConnectedToNodeFilter(String nodeName)
Creates a new filter.- Parameters:
nodeName
- node to search from.
-
-
Method Detail
-
getLinkFinder
public final LinkFinder getLinkFinder()
Method getLinkFinder.- Specified by:
getLinkFinder
in classGraphWalkFilter
- Returns:
- LinkFinder
- See Also:
GraphWalkFilter.getLinkFinder()
-
-