Class CTFileQueryBond

    • Constructor Detail

    • Method Detail

      • setType

        public void setType​(CTFileQueryBond.Type type)
        Deprecated.
        Getter for bond type
        Parameters:
        type -
      • getType

        public CTFileQueryBond.Type getType()
        Deprecated.
        Getter for type
        Returns:
        the type of this bond
      • matches

        public boolean matches​(IBond bond)
        Deprecated.
        Description copied from class: QueryBond
        Returns true of the given bond matches this IQueryBond.
        Specified by:
        matches in interface IQueryBond
        Overrides:
        matches in class QueryBond
        Parameters:
        bond - IBond to match against
        Returns:
        true, if this IQueryBond matches the given IBond
      • ofType

        public static CTFileQueryBond ofType​(IBond bond,
                                             int type)
        Deprecated.
        Create a CTFileQueryBond of the specified type (from the MDL spec). The bond copies the atoms and sets the type using the value 'type', 5 = single or double, 8 = any, etc.
        Parameters:
        bond - an existing bond
        type - the specified type
        Returns:
        a new CTFileQueryBond