Class ChemSequenceManipulator

    • Constructor Detail

      • ChemSequenceManipulator

        public ChemSequenceManipulator()
    • Method Detail

      • getAtomCount

        public static int getAtomCount​(IChemSequence sequence)
        Get the total number of atoms inside an IChemSequence.
        Parameters:
        sequence - The IChemSequence object.
        Returns:
        The number of Atom objects inside.
      • getBondCount

        public static int getBondCount​(IChemSequence sequence)
        Get the total number of bonds inside an IChemSequence.
        Parameters:
        sequence - The IChemSequence object.
        Returns:
        The number of Bond objects inside.
      • getAllAtomContainers

        public static List<IAtomContainer> getAllAtomContainers​(IChemSequence sequence)
        Returns all the AtomContainer's of a ChemSequence.
      • getAllChemObjects

        public static List<IChemObject> getAllChemObjects​(IChemSequence sequence)
        Returns a List of all IChemObject inside a ChemSequence.
        Returns:
        A List of all ChemObjects.