Class LabelContainer


  • public class LabelContainer
    extends Object
    Deprecated.
    SMSD has been deprecated from the CDK with a newer, more recent version of SMSD is available at http://github.com/asad/smsd.
    Class that handles atoms and assignes an integer lable to them.
    Author:
    Syed Asad Rahman <asad@ebi.ac.uk>
    Source code:
    main
    Belongs to CDK module:
    smsd
    • Constructor Detail

      • LabelContainer

        protected LabelContainer()
        Deprecated.
    • Method Detail

      • getInstance

        public static LabelContainer getInstance()
        Deprecated.
        Create ids from atom labels
        Returns:
        instance of this object
      • addLabel

        public void addLabel​(String label)
        Deprecated.
        Add label if its not present
        Parameters:
        label -
      • getLabelID

        public Integer getLabelID​(String label)
        Deprecated.
        Returns label ID
        Parameters:
        label -
        Returns:
        labelID
      • getLabel

        public String getLabel​(Integer labelID)
        Deprecated.
        Returns Label of a given ID
        Parameters:
        labelID -
        Returns:
        label
      • getSize

        public int getSize()
        Deprecated.
        Returns label count
        Returns:
        size of the labels