Class RMap
- java.lang.Object
-
- org.openscience.cdk.isomorphism.mcss.RMap
-
public class RMap extends Object
An RMap implements the association between an edge (bond) in G1 and an edge (bond) in G2, G1 and G2 being the compared graphs in a RGraph context.- Author:
- Stephane Werner, IXELIS <mail@ixelis.net>
- Source code:
- main
- Belongs to CDK module:
- standard
- Created on:
- 2002-07-24
-
-
Constructor Summary
Constructors Constructor Description RMap(int id1, int id2)
Constructor for the RMap.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
The equals method.int
getId1()
Gets the id1 attribute of the RMap object.int
getId2()
Gets the id2 attribute of the RMap object.int
hashCode()
void
setId1(int id1)
Sets the id1 attribute of the RMap object.void
setId2(int id2)
Sets the id2 attribute of the RMap object.
-
-
-
Method Detail
-
setId1
public void setId1(int id1)
Sets the id1 attribute of the RMap object.- Parameters:
id1
- The new id1 value
-
setId2
public void setId2(int id2)
Sets the id2 attribute of the RMap object.- Parameters:
id2
- The new id2 value
-
getId1
public int getId1()
Gets the id1 attribute of the RMap object.- Returns:
- The id1 value
-
getId2
public int getId2()
Gets the id2 attribute of the RMap object.- Returns:
- The id2 value
-
equals
public boolean equals(Object o)
The equals method.
-
-