com.google.inject.grapher
Class InterfaceNode

java.lang.Object
  extended by com.google.inject.grapher.Node
      extended by com.google.inject.grapher.InterfaceNode

public class InterfaceNode
extends Node

Node for an interface type that has been bound to an implementation class or instance.

Author:
phopkins@gmail.com (Pete Hopkins)
See Also:
BindingEdge

Constructor Summary
InterfaceNode(NodeId id, Object source)
           
 
Method Summary
 Node copy(NodeId id)
          Returns a copy of the node with a new ID.
 boolean equals(Object obj)
           
 String toString()
           
 
Methods inherited from class com.google.inject.grapher.Node
getId, getSource, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InterfaceNode

public InterfaceNode(NodeId id,
                     Object source)
Method Detail

copy

public Node copy(NodeId id)
Description copied from class: Node
Returns a copy of the node with a new ID.

Specified by:
copy in class Node
Parameters:
id - new ID of the node
Returns:
copy of the node with a new ID

equals

public boolean equals(Object obj)
Overrides:
equals in class Node

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2006-2014 Google, Inc.. All Rights Reserved.