Class HAcc

  • All Implemented Interfaces:
    Cloneable

    @PublicAPI
    public class HAcc
    extends ScalarDescriptor
    Implements hydrogen bond acceptor atom count as a scalar descriptor.
    Since:
    JChem 2.2
    • Constructor Detail

      • HAcc

        public HAcc()
        Creates a new, empty HAcc descriptor.
      • HAcc

        public HAcc​(HBParameters params)
        Creates a new instance according to the parameters given.
        Parameters:
        params - parameters
      • HAcc

        public HAcc​(String params)
        Creates a new instance according to the parameters given.
        Parameters:
        params - parameter settings
      • HAcc

        public HAcc​(ScalarDescriptor sd)
        Copy constructor. An identical copy of the ScalarDescriptor passed is created. The old and the new instances share the same HBParameters object.
        Parameters:
        sd - a descriptor to be copied
    • Method Detail

      • clone

        public HAcc clone()
        Creates a new instance with identical internal state.
        Overrides:
        clone in class ScalarDescriptor
        Returns:
        the newly copied object
      • getName

        public String getName()
        Gets the name of the HAcc descriptor object. The name is not the same as the class name, but nicer, and more meaningful for end-users too.
        Overrides:
        getName in class ScalarDescriptor
        Returns:
        the nice, external name for HAcc descriptor class objects
      • getShortName

        public String getShortName()
        Gets the short name of the descriptor.
        Overrides:
        getShortName in class ScalarDescriptor
        Returns:
        the short name used in text outputs (tables etc.)
      • getParametersClassName

        public String getParametersClassName()
        Gets the name of the parameters class corresponding to the descriptor.
        Overrides:
        getParametersClassName in class ScalarDescriptor
        Returns:
        the name of the parameters class