public class Group extends Object
hashCode()
and equals(Object)
methods.Element
Modifier and Type | Field and Description |
---|---|
static Group |
CO
CO group used in calcute the mass of a and x ion.
|
static Group |
H |
static Group |
H2O
Water group.
|
static Group |
NH
NH group used in calcute the mass of z ion.
|
static Group |
NH3
Ammonia group
|
static Group |
OH |
Constructor and Description |
---|
Group(Element... elementList)
A chemical group maybe include more than one chemical elements.
|
public static Group H
Peptide.n_terminal
public static Group OH
Peptide.c_terminal
public static Group CO
public static Group NH
public static Group H2O
public static Group NH3
public Group(Element... elementList)
Notice that: Group.OH and Group.HO are not same group, although both of them mass value are same. If user set elementList is null, system will throw NullPointerException.
elementList
- a var-arg @see uk.ac.ebi.pride.iongen.model.ElementNullPointerException
public double getMass()
public String getName()
Copyright © 2015 European Bioinformatics Institute. All Rights Reserved.