public class BoundingBox extends Object implements Comparable<BoundingBox>
Modifier and Type | Field and Description |
---|---|
protected DataMode |
_dataMode
The _data mode.
|
protected long |
_firstSpectrumId
The _first spectrum id.
|
protected long |
_lastSpectrumId |
protected int |
_msLevel
The _ms level.
|
protected IBlobReader |
_reader
The _reader.
|
protected int |
_runSliceId
The _run slice id.
|
Constructor and Description |
---|
BoundingBox(int id,
IBlobReader _reader)
Instantiates a new bounding box.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(BoundingBox bb)
Spectrum slice of spectrum at.
|
long |
getFirstSpectrumId()
Gets the first spectrum id.
|
int |
getId()
Gets the id.
|
long |
getLastSpectrumId() |
float |
getMaxSpectrumId()
Max id.
|
float |
getMinSpectrumId()
Min id.
|
IBlobReader |
getReader()
Gets the reader.
|
int |
getRunSliceId()
Gets the run slice id.
|
int |
getSpectraCount()
Spectra count.
|
void |
setFirstSpectrumId(long spectrumId)
Sets the first spectrum id.
|
void |
setId(int _id)
Sets the id.
|
void |
setLastSpectrumId(long spectrumId) |
void |
setRunSliceId(int _runSliceId)
Sets the run slice id.
|
SpectrumSlice[] |
toSpectrumSlices()
As spectrum slices array.
|
protected long _firstSpectrumId
protected long _lastSpectrumId
protected int _runSliceId
protected int _msLevel
protected DataMode _dataMode
protected IBlobReader _reader
public BoundingBox(int id, IBlobReader _reader)
id
- the BoundingBox id_reader
- a IBlobReader instancepublic int getId()
public void setId(int _id)
_id
- the new idpublic IBlobReader getReader()
public long getFirstSpectrumId()
public void setFirstSpectrumId(long spectrumId)
spectrumid
- the new first spectrum idpublic long getLastSpectrumId()
public void setLastSpectrumId(long spectrumId)
public int getRunSliceId()
public void setRunSliceId(int _runSliceId)
_runSliceId
- the new run slice idpublic int getSpectraCount()
public float getMinSpectrumId() throws com.almworks.sqlite4java.SQLiteException
com.almworks.sqlite4java.SQLiteException
public float getMaxSpectrumId()
public SpectrumSlice[] toSpectrumSlices()
firstSpectrumID
- the first spectrum idrunSliceID
- the run slice idpublic int compareTo(BoundingBox bb)
compareTo
in interface Comparable<BoundingBox>
idx
- the idxCopyright © 2019. All rights reserved.