Package org.openscience.cdk.graph
Class GraphUtil.EdgeToBondMap
- java.lang.Object
-
- org.openscience.cdk.graph.GraphUtil.EdgeToBondMap
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IBond
get(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 Detail
-
get
public IBond get(int v, int w)
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
public static GraphUtil.EdgeToBondMap withSpaceFor(IAtomContainer container)
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
-
-