| Modifier and Type | Field and Description |
|---|---|
static Pattern |
parsePattern |
| Constructor and Description |
|---|
Modification(String label,
Mass mass) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getLabel() |
Mass |
getMass() |
double |
getMolecularMass()
Return the molecular mass
|
int |
hashCode() |
static Modification |
parseModification(String s)
Parse a modification.
|
String |
toString() |
public static final Pattern parsePattern
public String getLabel()
public Mass getMass()
public double getMolecularMass()
WeighablegetMolecularMass in interface Weighablepublic static Modification parseModification(String s)
s - the string to parseIllegalArgumentException - - if s is not a valid modificationCopyright © 2016. All Rights Reserved.