com.google.inject.grapher

Class NodeId



  • public final class NodeId
    extends Object
    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.
    Since:
    4.0
    Author:
    bojand@google.com (Bojan Djordjevic)

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