net.sf.ant4eclipse.lang.dependencygraph
Class DependencyGraph.Edge

java.lang.Object
  extended by net.sf.ant4eclipse.lang.dependencygraph.DependencyGraph.Edge
Enclosing class:
DependencyGraph

public static class DependencyGraph.Edge
extends java.lang.Object

Internal representation of an edge.


Constructor Summary
DependencyGraph.Edge(java.lang.Object aParent, java.lang.Object aChild)
          Creates a new instance of type Edge.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Object getChild()
          Returns the child object.
 java.lang.Object getParent()
          Returns the parent object.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DependencyGraph.Edge

public DependencyGraph.Edge(java.lang.Object aParent,
                            java.lang.Object aChild)
Creates a new instance of type Edge.

Parameters:
aParent - the parent object
aChild - the child object
Method Detail

getChild

public java.lang.Object getChild()
Returns the child object.

Returns:
the chidl object.

getParent

public java.lang.Object getParent()
Returns the parent object.

Returns:
the parent object.

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object