com.google.inject.grapher

Class BindingEdge



  • public class BindingEdge
    extends Edge
    Edge that connects an interface to the type or instance that is bound to implement it.
    Since:
    4.0 (since 2.0 as an interface)
    Author:
    phopkins@gmail.com (Pete Hopkins)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Edge
      • copy

        public Edge copy(NodeId fromId,
                NodeId toId)
        Description copied from class: Edge
        Returns a copy of the edge with new node IDs.
        Specified by:
        copy in class Edge
        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

Copyright © 2006–2018 Google, Inc.. All rights reserved.