public abstract class

Edge

extends Object
java.lang.Object
   ↳ com.google.inject.grapher.Edge
Known Direct Subclasses

Class Overview

Edge in a guice dependency graph.

Summary

Protected Constructors
Edge(NodeId fromId, NodeId toId)
Public Methods
abstract Edge copy(NodeId fromId, NodeId toId)
Returns a copy of the edge with new node IDs.
boolean equals(Object obj)
NodeId getFromId()
NodeId getToId()
int hashCode()
[Expand]
Inherited Methods
From class java.lang.Object

Protected Constructors

protected Edge (NodeId fromId, NodeId toId)

Public Methods

public abstract Edge copy (NodeId fromId, NodeId toId)

Returns a copy of the edge with new node IDs.

Parameters
fromId new ID of the 'from' node
toId new ID of the 'to' node
Returns
  • copy of the edge with the new node IDs

public boolean equals (Object obj)

Since: API Level

public NodeId getFromId ()

public NodeId getToId ()

public int hashCode ()

Since: API Level