Package chemaxon.sss.search
Class MarkushFeature
- java.lang.Object
-
- chemaxon.sss.search.MarkushFeature
-
- All Implemented Interfaces:
Serializable
@PublicAPI public class MarkushFeature extends Object implements Serializable
Markush feature identifier. Identifies a Markush feature in a Markush structure.- Since:
- JChem 5.4
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
ATOMLIST
Expansion type: atom list.static int
BONDLIST
Expansion type: bond list.static int
LINKNODE
Expansion type: link node.static int
MULTIBOND
Expansion type: multiple position bond.static int
REPUNIT
Expansion type: repeating unit.static int
RGROUP
Expansion type: R-grgoup.
-
Constructor Summary
Constructors Constructor Description MarkushFeature(int... args)
Constructor.MarkushFeature(int type, int[] data)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int[]
getData()
Returns the feature data.int
getType()
Returns the feature type.int
hashCode()
String
toString()
-
-
-
Field Detail
-
RGROUP
public static final int RGROUP
Expansion type: R-grgoup.- See Also:
- Constant Field Values
-
LINKNODE
public static final int LINKNODE
Expansion type: link node.- See Also:
- Constant Field Values
-
REPUNIT
public static final int REPUNIT
Expansion type: repeating unit.- See Also:
- Constant Field Values
-
ATOMLIST
public static final int ATOMLIST
Expansion type: atom list.- See Also:
- Constant Field Values
-
BONDLIST
public static final int BONDLIST
Expansion type: bond list.- See Also:
- Constant Field Values
-
MULTIBOND
public static final int MULTIBOND
Expansion type: multiple position bond.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MarkushFeature
public MarkushFeature(int type, int[] data)
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}
RgMolecule.findRgroupIndex(int)
.- Parameters:
type
- the feature typedata
- the feature data
-
MarkushFeature
public MarkushFeature(int... args)
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}
RgMolecule.findRgroupIndex(int)
.- Parameters:
args
- the argument list, args[0] is the feature type, args[1], ... is the feature data list
-
-