Package org.openscience.cdk.graph
Class GraphUtil.EdgeToBondMap
java.lang.Object
org.openscience.cdk.graph.GraphUtil.EdgeToBondMap
- Enclosing class:
- GraphUtil
Utility for storing
IBond
s indexed by vertex end points.-
Method Summary
Modifier and TypeMethodDescriptionget
(int v, int w) Access the bond store at the end points v and w.static GraphUtil.EdgeToBondMap
withSpaceFor
(IAtomContainer container) Create a map with enough space for all the bonds in the molecule,container
.
-
Method Details
-
get
Access the bond store at the end points v and w. If no bond is store, null is returned.- Parameters:
v
- an endpointw
- another endpoint- Returns:
- the bond stored for the endpoints
-
withSpaceFor
Create a map with enough space for all the bonds in the molecule,container
. Note - the map is not filled by this method.- Parameters:
container
- the container- Returns:
- a map with enough space for the container
-