public abstract class

Node

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

Class Overview

Node in a guice dependency graph.

Summary

Protected Constructors
Node(NodeId id, Object source)
Public Methods
abstract Node copy(NodeId id)
Returns a copy of the node with a new ID.
boolean equals(Object obj)
NodeId getId()
Object getSource()
int hashCode()
[Expand]
Inherited Methods
From class java.lang.Object

Protected Constructors

protected Node (NodeId id, Object source)

Public Methods

public abstract Node copy (NodeId id)

Returns a copy of the node with a new ID.

Parameters
id new ID of the node
Returns
  • copy of the node with a new ID

public boolean equals (Object obj)

Since: API Level

public NodeId getId ()

public Object getSource ()

public int hashCode ()

Since: API Level