Class CDKRMap


  • @Deprecated
    public class CDKRMap
    extends Object
    Deprecated.
    This class is part of SMSD and either duplicates functionality elsewhere in the CDK or provides public access to internal implementation details. SMSD has been deprecated from the CDK with a newer, more recent version of SMSD is available at http://github.com/asad/smsd.
    An CDKRMap 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>, Syed Asad Rahman >asad@ebi.ac.uk< (modified the orignal code)
    Source code:
    main
    Belongs to CDK module:
    smsd
    Created on:
    2002-07-24
    • Constructor Detail

      • CDKRMap

        public CDKRMap​(int id1,
                       int id2)
        Deprecated.
        Constructor for the CDKRMap
        Parameters:
        id1 - number of the edge (bond) in the graphe 1
        id2 - number of the edge (bond) in the graphe 2
    • Method Detail

      • setId1

        public void setId1​(int id1)
        Deprecated.
        Sets the id1 attribute of the CDKRMap object
        Parameters:
        id1 - The new id1 value
      • setId2

        public void setId2​(int id2)
        Deprecated.
        Sets the id2 attribute of the CDKRMap object
        Parameters:
        id2 - The new id2 value
      • getId1

        public int getId1()
        Deprecated.
        Gets the id1 attribute of the CDKRMap object
        Returns:
        The id1 value
      • getId2

        public int getId2()
        Deprecated.
        Gets the id2 attribute of the CDKRMap object
        Returns:
        The id2 value
      • equals

        public boolean equals​(Object o)
        Deprecated.
        The equals method.
        Overrides:
        equals in class Object
        Parameters:
        o - The object to check.
        Returns:
        true=if both ids equal, else false.
      • hashCode

        public int hashCode()
        Deprecated.
        Returns a hash code for object comparison.
        Overrides:
        hashCode in class Object
        Returns:
        Returns a hash code for object comparison.