Package org.openscience.cdk.isomorphism
Class TransformOp
- java.lang.Object
-
- org.openscience.cdk.isomorphism.TransformOp
-
- All Implemented Interfaces:
Comparable<TransformOp>
public final class TransformOp extends Object implements Comparable<TransformOp>
A transform operation (TransformOp) describes a change to be made to some mapped set of indexed atoms (0 ≤ idx < N). An op-code has a type and then up to 4 additional integer parameters name a, b, c, d.
What these parameters mean depend on the type and summarised below:Type Param a Param b Param c Param d NewAtom idx atomic number impl H count is aromatic? NewBond idx idx bond order DeleteAtom idx DeleteBond idx idx BondOrder idx idx bond order Mass idx isotope mass Element idx atomic number Aromatic idx is aromatic? Charge idx formal charge ImplH idx impl H AdjustH idx +/- impl H change MoveH idx idx Tetrahedral idx1 idx2 idx3 idx4 DbTogether idx1 idx2 idx3 idx4 DbOpposite idx1 idx2 idx3 idx4
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TransformOp.Type
-
Constructor Summary
Constructors Constructor Description TransformOp(TransformOp.Type type, int a)
TransformOp(TransformOp.Type type, int a, int b)
TransformOp(TransformOp.Type type, int a, int b, int c)
TransformOp(TransformOp.Type type, int a, int b, int c, int d)
TransformOp(TransformOp.Type type, TransformOp op)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
argA()
int
argB()
int
argC()
int
argD()
int
compareTo(TransformOp that)
boolean
equals(Object o)
int
hashCode()
String
toString()
TransformOp.Type
type()
-
-
-
Constructor Detail
-
TransformOp
public TransformOp(TransformOp.Type type, int a, int b, int c, int d)
-
TransformOp
public TransformOp(TransformOp.Type type, int a, int b, int c)
-
TransformOp
public TransformOp(TransformOp.Type type, int a, int b)
-
TransformOp
public TransformOp(TransformOp.Type type, int a)
-
TransformOp
public TransformOp(TransformOp.Type type, TransformOp op)
-
-
Method Detail
-
type
public TransformOp.Type type()
-
argA
public int argA()
-
argB
public int argB()
-
argC
public int argC()
-
argD
public int argD()
-
compareTo
public int compareTo(TransformOp that)
- Specified by:
compareTo
in interfaceComparable<TransformOp>
-
-