| Modifier and Type | Field and Description |
|---|---|
static SubstituentLinkage |
UNKNOWN |
| Constructor and Description |
|---|
SubstituentLinkage(Integer linkedCarbon,
Composition linkedComposition) |
SubstituentLinkage(com.google.common.base.Optional<Integer> linkedCarbon,
com.google.common.base.Optional<Composition> linkedComposition) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.common.base.Optional<Integer> |
getLinkedCarbon()
Return the number of the linked carbon.
|
com.google.common.base.Optional<Composition> |
getLinkedComposition()
Return the composition of the linkage.
|
double |
getMolecularMass()
Return the molecular mass of the composition change due to the linkage.
|
int |
hashCode() |
boolean |
hasSetCarbon()
Check if the linkage has the anomeric carbon already set.
|
String |
toString() |
public static final SubstituentLinkage UNKNOWN
public SubstituentLinkage(Integer linkedCarbon, Composition linkedComposition)
public SubstituentLinkage(com.google.common.base.Optional<Integer> linkedCarbon, com.google.common.base.Optional<Composition> linkedComposition)
public boolean hasSetCarbon()
hasSetCarbon in interface Linkagepublic com.google.common.base.Optional<Integer> getLinkedCarbon()
LinkagegetLinkedCarbon in interface Linkagepublic com.google.common.base.Optional<Composition> getLinkedComposition()
LinkagegetLinkedComposition in interface Linkagepublic double getMolecularMass()
getMolecularMass in interface WeighableCopyright © 2016. All Rights Reserved.