public class DefaultIncidentEdgeGetter extends Object implements org.apache.commons.collections.Transformer, Serializable
Transformer which when given a node, returns a
single Edge incident to that node, specified by a
Graph and a Predicate.| Constructor and Description |
|---|
DefaultIncidentEdgeGetter(Graph graph,
org.apache.commons.collections.Predicate traverserPredicate)
Creates a new
DefaultIncidentEdgeGetter. |
public DefaultIncidentEdgeGetter(Graph graph, org.apache.commons.collections.Predicate traverserPredicate)
DefaultIncidentEdgeGetter.public Object transform(Object node)
transform in interface org.apache.commons.collections.Transformerpublic Graph getGraph()
Graph for this
DefaultIncidentEdgeGetter.public org.apache.commons.collections.Predicate getTraverserPredicate()
Predicate for this
DefaultIncidentEdgeGetter.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.