Plexus v0.13.1

com.phoenixst.plexus.util
Class ParentEdgeGetter

java.lang.Object
  extended by com.phoenixst.plexus.util.ParentEdgeGetter
All Implemented Interfaces:
Serializable, org.apache.commons.collections.Transformer

public class ParentEdgeGetter
extends Object
implements org.apache.commons.collections.Transformer, Serializable

A Transformer which when given a node, returns the parent Edge of that node, specified by an OrientedForest.

Since:
1.0
Version:
$Revision: 1.9 $
Author:
Ray A. Conner
See Also:
Serialized Form

Constructor Summary
ParentEdgeGetter(OrientedForest forest)
          Creates a new ParentEdgeGetter.
 
Method Summary
 OrientedForest getOrientedForest()
          Gets the OrientedForest for this ParentEdgeGetter.
 Object transform(Object node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParentEdgeGetter

public ParentEdgeGetter(OrientedForest forest)
Creates a new ParentEdgeGetter.

Method Detail

transform

public Object transform(Object node)
Specified by:
transform in interface org.apache.commons.collections.Transformer

getOrientedForest

public OrientedForest getOrientedForest()
Gets the OrientedForest for this ParentEdgeGetter.


Plexus v0.13.1

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.