public class Monosaccharide extends GlycanNode
composition, name| Constructor and Description |
|---|
Monosaccharide(Monosaccharide src) |
Monosaccharide(String name,
Composition composition,
MonosaccharideSuperclass monosaccharideSuperclass,
MonosaccharideClass monosaccharideClass,
RingType ring,
int firstCarbonRing,
int lastCarbonRing) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkLinkedCarbon(CutIndexes cutIndexes,
CutDirection cutDirection,
int carbonNumber)
Check if a carbon of the ring is in the fragment specified by the cutIndexes and the cutDirection.
|
boolean |
equals(Object o) |
int |
getFirstCarbonRing()
Return the number of the first carbon in the ring of the Monosaccharide.
|
int |
getLastCarbonRing()
Return the number of the last carbon in the ring of the Monosaccharide.
|
MonosaccharideClass |
getMonosaccharideClass()
Return the class of the Monosaccharide
|
MonosaccharideSuperclass |
getMonosaccharideSuperclass()
Return the superclass of the Monosaccharide
|
RingType |
getRing()
Return the ring type of the Monosaccharide
|
int |
hashCode() |
String |
toString() |
getComposition, getMolecularMass, getNamepublic Monosaccharide(String name, Composition composition, MonosaccharideSuperclass monosaccharideSuperclass, MonosaccharideClass monosaccharideClass, RingType ring, int firstCarbonRing, int lastCarbonRing)
public Monosaccharide(Monosaccharide src)
public MonosaccharideClass getMonosaccharideClass()
public MonosaccharideSuperclass getMonosaccharideSuperclass()
public RingType getRing()
public int getFirstCarbonRing()
public int getLastCarbonRing()
public boolean checkLinkedCarbon(CutIndexes cutIndexes, CutDirection cutDirection, int carbonNumber)
cutIndexes - cut to be applied on the ring.cutDirection - part of the ring to take into account.carbonNumber - the number of the carbon in the ring.true if the carbon is a part of the fragment;
false otherwiseCopyright © 2016. All Rights Reserved.