Package com.google.inject.grapher
Class Edge
java.lang.Object
com.google.inject.grapher.Edge
- Direct Known Subclasses:
BindingEdge
,DependencyEdge
Edge in a guice dependency graph.
- Since:
- 4.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
fromId
-
toId
-
-
Constructor Details
-
Edge
-
-
Method Details
-
getFromId
-
getToId
-
equals
-
hashCode
public int hashCode() -
copy
Returns a copy of the edge with new node IDs.- Parameters:
fromId
- new ID of the 'from' nodetoId
- new ID of the 'to' node- Returns:
- copy of the edge with the new node IDs
-