public class ParentEdgeGetter extends Object implements org.apache.commons.collections.Transformer, Serializable
Transformer
which when given a node, returns the
parent Edge
of that node, specified by an
OrientedForest
.Constructor and Description |
---|
ParentEdgeGetter(OrientedForest forest)
Creates a new
ParentEdgeGetter . |
Modifier and Type | Method and Description |
---|---|
OrientedForest |
getOrientedForest()
Gets the
OrientedForest for this
ParentEdgeGetter . |
Object |
transform(Object node) |
public ParentEdgeGetter(OrientedForest forest)
ParentEdgeGetter
.public Object transform(Object node)
transform
in interface org.apache.commons.collections.Transformer
public OrientedForest getOrientedForest()
OrientedForest
for this
ParentEdgeGetter
.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.