@PublicAPI public class MarkushFeature extends java.lang.Object implements java.io.Serializable
Modifier and Type | Field and 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 and Description |
---|
MarkushFeature(int... args)
Constructor.
|
MarkushFeature(int type,
int[] data)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int[] |
getData()
Returns the feature data.
|
int |
getType()
Returns the feature type.
|
int |
hashCode() |
java.lang.String |
toString() |
public static final int RGROUP
public static final int LINKNODE
public static final int REPUNIT
public static final int ATOMLIST
public static final int BONDLIST
public static final int MULTIBOND
public MarkushFeature(int type, int[] data)
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)
.type
- the feature typedata
- the feature datapublic MarkushFeature(int... args)
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)
.args
- the argument list, args[0] is the feature type, args[1], ... is the
feature data listpublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int getType()
public int[] getData()
public java.lang.String toString()
toString
in class java.lang.Object