public class GlycanSpectrum extends Spectrum<GlycanFragAnnotation>
PeakList.Precision| Modifier | Constructor and Description |
|---|---|
|
GlycanSpectrum(Glycan glycan,
int charge)
Constructor for GlycanSpectrum.
|
|
GlycanSpectrum(Glycan glycan,
int charge,
int initialCapacity,
double constantIntensity,
PeakList.Precision precision)
Constructor for GlycanSpectrum.
|
|
GlycanSpectrum(Glycan glycan,
int charge,
int initialCapacity,
PeakList.Precision precision)
Constructor for GlycanSpectrum.
|
|
GlycanSpectrum(Glycan glycan,
int charge,
PeakList.Precision precision)
Constructor for GlycanSpectrum.
|
protected |
GlycanSpectrum(GlycanSpectrum src,
PeakProcessor<GlycanFragAnnotation,GlycanFragAnnotation> peakProcessor)
Copy constructor
|
protected |
GlycanSpectrum(GlycanSpectrum src,
PeakProcessorChain<GlycanFragAnnotation> peakProcessorChain)
Copy constructor
|
|
GlycanSpectrum(Spectrum<GlycanFragAnnotation> src,
Glycan glycan,
int charge)
Constructor for GlycanSpectrum.
|
| Modifier and Type | Method and Description |
|---|---|
GlycanSpectrum |
copy(PeakProcessor<GlycanFragAnnotation,GlycanFragAnnotation> peakProcessor)
Return PeakList copy processed with PeakProcessor
|
GlycanSpectrum |
copy(PeakProcessorChain<GlycanFragAnnotation> peakProcessorChain)
Return PeakList copy processed with PeakProcessorChain
|
boolean |
equals(Object o) |
int |
getCharge()
Returns the charge of the peaks in the spectrum.
|
Glycan |
getGlycan()
Returns the glycan used for creating the spectrum.
|
int |
hashCode() |
add, add, add, addAnnotation, addAnnotations, addPeaks, addPeaks, addPeaksNoAnnotations, addSorted, addSorted, apply, apply, calcVectorLength, clear, clearAnnotations, clearAnnotationsAt, cursor, ensureCapacity, getAnnotationIndexes, getAnnotations, getBasePeakIntensity, getBasePeakMz, getClosestIndex, getFirstAnnotation, getId, getIntensities, getIntensities, getIntensities, getIntensity, getMostIntenseIndex, getMostIntenseIndex, getMsLevel, getMz, getMzs, getMzs, getMzs, getPrecision, getPrecursor, getTotalIonCurrent, hasAnnotations, hasAnnotationsAt, indexOf, indexOf, isEmpty, removeAnnotation, setId, setIntensityAt, setMsLevel, setPrecursor, size, sortAnnotations, trimToSizepublic GlycanSpectrum(Glycan glycan, int charge)
glycan - the glycan for creating the spectrum.charge - the charge of the peaks in the spectrum.public GlycanSpectrum(Spectrum<GlycanFragAnnotation> src, Glycan glycan, int charge)
src - the spectrum that belong to the glycanglycan - the glycan used for creating the specturm.charge - the charge of the peaks in the spectrum.public GlycanSpectrum(Glycan glycan, int charge, PeakList.Precision precision)
glycan - the glycan for creating the spectrum.charge - the charge of the peaks in the spectrum.precision - the precision of the peaklist.public GlycanSpectrum(Glycan glycan, int charge, int initialCapacity, PeakList.Precision precision)
glycan - the glycan for creating the spectrum.charge - the charge of the peaks in the spectrum.initialCapacity - the initial capacity of the peaklist.precision - the precision of the peaklist.public GlycanSpectrum(Glycan glycan, int charge, int initialCapacity, double constantIntensity, PeakList.Precision precision)
glycan - the glycan for creating the spectrum.charge - the charge of the peaks in the spectrum.initialCapacity - the initial capacity of the peaklist.constantIntensity - the fixed intensity of each peak.precision - the precision of the peaklist, in this case you can choose only DOUBLE_CONSTANT or FLOAT_CONSTANT.protected GlycanSpectrum(GlycanSpectrum src, PeakProcessor<GlycanFragAnnotation,GlycanFragAnnotation> peakProcessor)
src - the GlycanSpectrum to copy.protected GlycanSpectrum(GlycanSpectrum src, PeakProcessorChain<GlycanFragAnnotation> peakProcessorChain)
src - the GlycanSpectrum to copy.public Glycan getGlycan()
public int getCharge()
public GlycanSpectrum copy(PeakProcessor<GlycanFragAnnotation,GlycanFragAnnotation> peakProcessor)
PeakListpeakProcessor - the processor to process the peakspublic GlycanSpectrum copy(PeakProcessorChain<GlycanFragAnnotation> peakProcessorChain)
PeakListpeakProcessorChain - the processor chain to process the peakspublic boolean equals(Object o)
equals in class Spectrum<GlycanFragAnnotation>public int hashCode()
hashCode in class Spectrum<GlycanFragAnnotation>Copyright © 2016. All Rights Reserved.