java.lang.Object |
↳ |
com.google.inject.grapher.NodeId |
Class Overview
ID of a node in the graph. An ID is given by a Key
and a node type, which is used to
distinguish instances and implementation classes for the same key. For example
bind(Integer.class).toInstance(42)
produces two nodes: an
interface node with the key of Key<Integer>
and an instance node with the same
Key
and value of 42.
Summary
Nested Classes |
enum |
NodeId.NodeType |
Type of node. |
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0)
|
final
void
|
wait(long arg0, int arg1)
|
|
Public Methods
public
boolean
equals
(Object obj)
public
static
NodeId
newInstanceId
(Key<?> key)
public
String
toString
()