public class DefaultTraverserFactory extends Object implements org.apache.commons.collections.Transformer, Serializable
Transformer which when given a node, returns a
Traverser over nodes adjacent to that
node, specified by a Graph and a
Predicate.| Constructor and Description |
|---|
DefaultTraverserFactory(Graph graph,
org.apache.commons.collections.Predicate traverserPredicate)
Creates a new
DefaultTraverserFactory. |
public DefaultTraverserFactory(Graph graph, org.apache.commons.collections.Predicate traverserPredicate)
DefaultTraverserFactory.public Object transform(Object node)
transform in interface org.apache.commons.collections.Transformerpublic Graph getGraph()
Graph for this
DefaultTraverserFactory.public org.apache.commons.collections.Predicate getTraverserPredicate()
Predicate for this
DefaultTraverserFactory.See the Plexus project home, hosted by SourceForge.
Copyright ? 1994-2006, by Phoenix Software Technologists, Inc. and others. All Rights Reserved. Use is subject to license terms.