com.phoenixst.plexus

Class DefaultOrientedForestView

public class DefaultOrientedForestView extends AbstractOrientedForest implements GraphView, Serializable

A default view implementation of the OrientedForest interface.

Since: 1.0

Version: $Revision: 1.16 $

Author: Ray A. Conner

Constructor Summary
DefaultOrientedForestView(Graph graph, Predicate parentPredicate, Predicate childPredicate)
Creates a new DefaultOrientedForestView.
Method Summary
TraverserchildTraverser(Object node)
GraphgetGraph()
ObjectgetParent(Object node)
Graph.EdgegetParentEdge(Object node)
booleanisLeaf(Object node)
CollectionrootNodes()

Constructor Detail

DefaultOrientedForestView

public DefaultOrientedForestView(Graph graph, Predicate parentPredicate, Predicate childPredicate)
Creates a new DefaultOrientedForestView.

Method Detail

childTraverser

public Traverser childTraverser(Object node)

getGraph

public Graph getGraph()

getParent

public Object getParent(Object node)

getParentEdge

public Graph.Edge getParentEdge(Object node)

isLeaf

public boolean isLeaf(Object node)

rootNodes

public Collection rootNodes()
See the Plexus project home, hosted by SourceForge.
Copyright B) 1994-2006, by Phoenix Software Technologists, Inc. and others. All Rights Reserved. Use is subject to license terms.