|
Plexus v0.13.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.phoenixst.plexus.util.DefaultTraverserFactory
public class DefaultTraverserFactory
A Transformer
which when given a node, returns a
Traverser
over nodes adjacent to that
node, specified by a Graph
and a
Predicate
.
Constructor Summary | |
---|---|
DefaultTraverserFactory(Graph graph,
org.apache.commons.collections.Predicate traverserPredicate)
Creates a new DefaultTraverserFactory . |
Method Summary | |
---|---|
Graph |
getGraph()
Gets the Graph for this
DefaultTraverserFactory . |
org.apache.commons.collections.Predicate |
getTraverserPredicate()
Gets the Predicate for this
DefaultTraverserFactory . |
Object |
transform(Object node)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultTraverserFactory(Graph graph, org.apache.commons.collections.Predicate traverserPredicate)
DefaultTraverserFactory
.
Method Detail |
---|
public Object transform(Object node)
transform
in interface org.apache.commons.collections.Transformer
public Graph getGraph()
Graph
for this
DefaultTraverserFactory
.
public org.apache.commons.collections.Predicate getTraverserPredicate()
Predicate
for this
DefaultTraverserFactory
.
|
Plexus v0.13.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |