Class MarkushFeature

java.lang.Object
chemaxon.sss.search.MarkushFeature
All Implemented Interfaces:
Serializable

@PublicApi @Deprecated(forRemoval=true) @SubjectToRemoval(date=JAN_01_2025) public class MarkushFeature extends Object implements Serializable
Deprecated, for removal: This API element is subject to removal in a future version.
Markush feature identifier. Identifies a Markush feature in a Markush structure.
Since:
JChem 5.4
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
    Expansion type: atom list.
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
    Expansion type: bond list.
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
    Expansion type: link node.
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
    Expansion type: multiple position bond.
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
    Expansion type: repeating unit.
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
    Expansion type: R-grgoup.
  • Constructor Summary

    Constructors
    Constructor
    Description
    MarkushFeature(int... args)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Constructor.
    MarkushFeature(int type, int[] data)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int[]
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the feature data.
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the feature type.
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • RGROUP

      public static final int RGROUP
      Deprecated, for removal: This API element is subject to removal in a future version.
      Expansion type: R-grgoup.
      See Also:
    • LINKNODE

      public static final int LINKNODE
      Deprecated, for removal: This API element is subject to removal in a future version.
      Expansion type: link node.
      See Also:
    • REPUNIT

      public static final int REPUNIT
      Deprecated, for removal: This API element is subject to removal in a future version.
      Expansion type: repeating unit.
      See Also:
    • ATOMLIST

      public static final int ATOMLIST
      Deprecated, for removal: This API element is subject to removal in a future version.
      Expansion type: atom list.
      See Also:
    • BONDLIST

      public static final int BONDLIST
      Deprecated, for removal: This API element is subject to removal in a future version.
      Expansion type: bond list.
      See Also:
    • MULTIBOND

      public static final int MULTIBOND
      Deprecated, for removal: This API element is subject to removal in a future version.
      Expansion type: multiple position bond.
      See Also:
  • Constructor Details

    • MarkushFeature

      public MarkushFeature(int type, int[] data)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Constructor. Sets the feature type and data. The possible type - data combinations:
      • RGROUP: {R-atom union index, R-group definition index}
      • LINKNODE: {link atom union index}
      • REPUNIT: {RepeatingUnitSgroup sgroup index in markush}
      • ATOMLIST: {list atom union index}
      • BONDLIST: {list bond union bond index}
      • MULTIBOND: {union bond index, MulticenterSgroup sgroup index in markush}
      R-group definition index: the index returned by RgMolecule.findRgroupIndex(int).
      Parameters:
      type - the feature type
      data - the feature data
    • MarkushFeature

      public MarkushFeature(int... args)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Constructor. Sets the feature type and data. The first argument is the feature type, the rest of the argument list is composed to the data array. The possible type - data combinations:
      • RGROUP: {R-atom union index, R-group definition index}
      • LINKNODE: {link atom union index}
      • REPUNIT: {RepeatingUnitSgroup sgroup index in markush}
      • ATOMLIST: {list atom union index}
      • BONDLIST: {list bond union bond index}
      • MULTIBOND: {union bond index, MulticenterSgroup sgroup index in markush}
      R-group definition index: the index returned by RgMolecule.findRgroupIndex(int).
      Parameters:
      args - the argument list, args[0] is the feature type, args[1], ... is the feature data list
  • Method Details

    • equals

      public boolean equals(Object o)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      hashCode in class Object
    • getType

      public int getType()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the feature type.
      Returns:
      the feature type
    • getData

      public int[] getData()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the feature data.
      Returns:
      the feature data
    • toString

      public String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      toString in class Object