public class PepLibPeakAnnotation extends LibPeakAnnotation
| Constructor and Description |
|---|
PepLibPeakAnnotation(int mergedPeakCount,
double mzStd,
double intensityStd)
Constructor
|
PepLibPeakAnnotation(int mergedPeakCount,
double mzStd,
double intensityStd,
com.google.common.base.Optional<PepFragAnnotation> optFragmentAnnotation) |
PepLibPeakAnnotation(PepLibPeakAnnotation src)
Copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
PepLibPeakAnnotation |
copy()
Creates and returns a copy of this object.
|
boolean |
equals(Object o) |
int |
getCharge()
Return this peaks charge
|
com.google.common.base.Optional<PepFragAnnotation> |
getOptFragmentAnnotation() |
int |
hashCode() |
String |
toString() |
getIntensityStd, getMergedPeakCount, getMzStdpublic PepLibPeakAnnotation(PepLibPeakAnnotation src)
src - the annotation to copypublic PepLibPeakAnnotation(int mergedPeakCount,
double mzStd,
double intensityStd)
mergedPeakCount - number of peaks merged into consensus peakmzStd - standard deviation of mz valuesintensityStd - standard deviation of intensitiespublic PepLibPeakAnnotation(int mergedPeakCount,
double mzStd,
double intensityStd,
com.google.common.base.Optional<PepFragAnnotation> optFragmentAnnotation)
public com.google.common.base.Optional<PepFragAnnotation> getOptFragmentAnnotation()
public PepLibPeakAnnotation 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>copy in class LibPeakAnnotationpublic boolean equals(Object o)
equals in class LibPeakAnnotationpublic int hashCode()
hashCode in class LibPeakAnnotationpublic String toString()
toString in class LibPeakAnnotationpublic int getCharge()
PeakAnnotationgetCharge in interface PeakAnnotationgetCharge in class LibPeakAnnotationCopyright © 2016. All Rights Reserved.