Class NamingConstants


  • public abstract class NamingConstants
    extends java.lang.Object
    Class to hold various naming constants used by MoleculeAnalyzer.

    This is just to move them out of that class.

      SSSS TTTTT  OOO  PPPP  !
     S       T   O   O P   P !
      SSS    T   O   O PPPP  !
         S   T   O   O P     !
     SSSS    T    OOO  P     !
     
    Do not modify this class! Changes will be overwritten during official grading.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String[] CHAIN_BASE_NAMES
      Base names of carbon chains/rings based on their length.
      static java.util.HashMap<ChemicalElement,java.lang.String> HALIDES
      Names of halogen substituents.
      static java.lang.String[] MULTIPLICITY_NAMES
      Prefixes for naming when there are multiple instances of the same substituent.
      static java.lang.String VOWELS
      All letters that are considered vowels for purposes of molecule naming.
    • Constructor Summary

      Constructors 
      Constructor Description
      NamingConstants()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • CHAIN_BASE_NAMES

        public static final java.lang.String[] CHAIN_BASE_NAMES
        Base names of carbon chains/rings based on their length.
      • MULTIPLICITY_NAMES

        public static final java.lang.String[] MULTIPLICITY_NAMES
        Prefixes for naming when there are multiple instances of the same substituent.
      • VOWELS

        public static final java.lang.String VOWELS
        All letters that are considered vowels for purposes of molecule naming.
        See Also:
        Constant Field Values
      • HALIDES

        public static final java.util.HashMap<ChemicalElement,java.lang.String> HALIDES
        Names of halogen substituents.
    • Constructor Detail

      • NamingConstants

        public NamingConstants()