Class InterfaceNode


  • public class InterfaceNode
    extends Node
    Node for an interface type that has been bound to an implementation class or instance.
    Since:
    4.0 (since 2.0 as an interface)
    Author:
    phopkins@gmail.com (Pete Hopkins)
    See Also:
    BindingEdge
    • 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