org.pf.tools.cda.core.dependency.path
Class ClassDependencyPath

java.lang.Object
  extended by org.pf.tools.cda.core.dependency.path.ClassDependencyPath

public class ClassDependencyPath
extends java.lang.Object

Holds one chain of DependencyClassNode objects that lead from the analyzed class to a specific class it depends on.

Version:
1.0
Author:
Manfred Duchrow

Constructor Summary
ClassDependencyPath(ClassDependencyPathElement newNode)
          Initialize the new instance with a new element.
ClassDependencyPath(ClassDependencyPathElement newNode, ClassDependencyPath path)
          Initialize the new instance with an existing chain plus an additional element.
 
Method Summary
 ClassDependencyPathElement[] getPathElements()
           
 int size()
          Returns the number of elements in the chain
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassDependencyPath

public ClassDependencyPath(ClassDependencyPathElement newNode,
                           ClassDependencyPath path)
Initialize the new instance with an existing chain plus an additional element.


ClassDependencyPath

public ClassDependencyPath(ClassDependencyPathElement newNode)
Initialize the new instance with a new element.

Method Detail

getPathElements

public ClassDependencyPathElement[] getPathElements()

size

public int size()
Returns the number of elements in the chain