Package chemaxon.struc
Class RgroupBridgeId
java.lang.Object
chemaxon.struc.RgroupBridgeId
- All Implemented Interfaces:
Comparable<RgroupBridgeId>
Identifies an R-group bridge position by storing a pair of R-group IDs.
R-group bridges are optional definitions of two distinct R-groups that connect them with ring segments.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(RgroupBridgeId other) boolean
int
Returns the ID of the first bridged R-group.int
Returns the ID of the second bridged R-group.int
hashCode()
toString()
-
Constructor Details
-
RgroupBridgeId
public RgroupBridgeId(int rgroupId1, int rgroupId2) Constructor.- Parameters:
rgroupId1
- the ID of the first bridged R-grouprgroupId2
- the ID of the second bridged R-group
-
-
Method Details
-
getRgroupId1
public int getRgroupId1()Returns the ID of the first bridged R-group. -
getRgroupId2
public int getRgroupId2()Returns the ID of the second bridged R-group. -
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<RgroupBridgeId>
-
toString
-