public class RunSliceHeader extends AbstractInMemoryIdGen implements Comparable<RunSliceHeader>
Modifier and Type | Field and Description |
---|---|
protected double |
beginMz
The begin mz.
|
protected double |
endMz
The end mz.
|
protected int |
id
The id.
|
protected int |
msLevel
The ms level.
|
protected int |
number
The number.
|
protected int |
runId
The run id.
|
Constructor and Description |
---|
RunSliceHeader(int id,
int msLevel,
int number,
double beginMz,
double endMz,
int runId)
Instantiates a new run slice header.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(RunSliceHeader o) |
double |
getBeginMz()
Gets the begin mz.
|
double |
getEndMz()
Gets the end mz.
|
int |
getId()
Gets the id.
|
int |
getMsLevel()
Gets the ms level.
|
int |
getNumber()
Gets the number.
|
int |
getRunId()
Gets the run id.
|
String |
toString() |
generateNewId
protected final int id
protected final int msLevel
protected final int number
protected final double beginMz
protected final double endMz
protected final int runId
public RunSliceHeader(int id, int msLevel, int number, double beginMz, double endMz, int runId)
id
- the idmsLevel
- the ms levelnumber
- the numberbeginMz
- the begin mzendMz
- the end mzrunId
- the run idpublic int getId()
public int getMsLevel()
public int getNumber()
public double getBeginMz()
public double getEndMz()
public int getRunId()
public int compareTo(RunSliceHeader o)
compareTo
in interface Comparable<RunSliceHeader>
Copyright © 2019. All rights reserved.