public class LibPeakAnnotation extends Object implements PeakAnnotation
| Constructor and Description |
|---|
LibPeakAnnotation(int mergedPeakCount,
double mzStd,
double intensityStd) |
LibPeakAnnotation(LibPeakAnnotation src) |
| Modifier and Type | Method and Description |
|---|---|
LibPeakAnnotation |
copy()
Creates and returns a copy of this object.
|
boolean |
equals(Object o) |
int |
getCharge()
Return this peaks charge
|
double |
getIntensityStd() |
int |
getMergedPeakCount() |
double |
getMzStd() |
int |
hashCode() |
String |
toString() |
public LibPeakAnnotation(int mergedPeakCount,
double mzStd,
double intensityStd)
public LibPeakAnnotation(LibPeakAnnotation src)
public int getMergedPeakCount()
public double getMzStd()
public double getIntensityStd()
public LibPeakAnnotation copy()
Copyablex, the expression:
will be true, and that the expression:x.copy() != x
will bex.copy().getClass() == x.getClass()
true, but these are not absolute requirements.
While it is typically the case that:
will bex.copy().equals(x)
true, this is not an absolute requirement.
copy in interface Copyable<PeakAnnotation>public int getCharge()
PeakAnnotationgetCharge in interface PeakAnnotationCopyright © 2016. All Rights Reserved.