K
- The type for node IDs.T
- The BindingEdge
sub-type that this factory provides.public static interface BindingEdge.Factory<K,T extends BindingEdge<K>>
BindingEdge
s. Renderer implementations will
need to provide an implementation for this.Modifier and Type | Method and Description |
---|---|
T |
newBindingEdge(K fromId,
K toId)
Creates a new
BindingEdge instance and adds it to the graph. |
T newBindingEdge(K fromId, K toId)
BindingEdge
instance and adds it to the graph.fromId
- Node ID for the interface node.toId
- Node ID for the implementation (class or instance) node.BindingEdge
.Copyright © 2006-2012 Google, Inc.. All Rights Reserved.