A
- public class Arc<A>
extends java.lang.Object
Constructor and Description |
---|
Arc(Ligand<A> tail,
Ligand<A> head,
MutableDescriptor descriptor) |
Arc(Ligand<A> tail,
Ligand<A> head,
MutableDescriptor descriptor,
int depth) |
Modifier and Type | Method and Description |
---|---|
int |
getDepth() |
Descriptor |
getDescriptor() |
Ligand<A> |
getHead() |
Ligand<A> |
getTail() |
java.lang.String |
toString() |
void |
transpose() |
public Arc(Ligand<A> tail, Ligand<A> head, MutableDescriptor descriptor)
tail
- head
- descriptor
- public Arc(Ligand<A> tail, Ligand<A> head, MutableDescriptor descriptor, int depth)
tail
- head
- descriptor
- depth
- 1 = tail is closed then head, -1 = head is closer then head, 0 = same plane. -1 = wedge bond when
tail is root atompublic int getDepth()
public Descriptor getDescriptor()
public void transpose()
public java.lang.String toString()
toString
in class java.lang.Object