public class SpectrumKey extends Object implements org.apache.hadoop.io.WritableComparable<SpectrumKey>
| Constructor and Description |
|---|
SpectrumKey() |
SpectrumKey(double mz,
int charge) |
public SpectrumKey()
public SpectrumKey(double mz,
int charge)
public double getMz()
public int getCharge()
public void set(Peak precursor)
public void set(int charge,
double mz)
public int compareTo(SpectrumKey o)
compareTo in interface Comparable<SpectrumKey>public void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionCopyright © 2016. All Rights Reserved.