All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fr.profi.mzdb.io.reader.cache.MzDbEntityCache Maven / Gradle / Ivy

There is a newer version: 0.0.27
Show newest version
package fr.profi.mzdb.io.reader.cache;

import java.util.ArrayList;
import java.util.Map;

import fr.profi.mzdb.model.DataEncoding;
import fr.profi.mzdb.model.RunSliceHeader;
import fr.profi.mzdb.model.SpectrumHeader;

/**
 * @author David Bouyssie
 * 
 */
public class MzDbEntityCache {

	protected SpectrumHeader[] ms1SpectrumHeaders = null;

	protected Map ms1SpectrumHeaderById = null;
	
	protected SpectrumHeader[] ms2SpectrumHeaders = null;

	protected Map ms2SpectrumHeaderById = null;

	protected SpectrumHeader[] ms3SpectrumHeaders = null;

	protected Map ms3SpectrumHeaderById = null;

	protected SpectrumHeader[] spectrumHeaders = null;

	protected Map spectrumHeaderById = null;

	protected Map spectrumTimeById = null;
	
	protected Map> spectrumIdsByTimeIndex = null;

	protected Map dataEncodingById = null;

	protected Map dataEncodingBySpectrumId = null;

	protected RunSliceHeader[] runSliceHeaders = null;

	protected Map runSliceHeaderById = null;

	public SpectrumHeader[] getMs1SpectrumHeaders() {
		return ms1SpectrumHeaders;
	}

	public Map getMs1SpectrumHeaderById() {
		return ms1SpectrumHeaderById;
	}
	
	public SpectrumHeader[] getMs2SpectrumHeaders() {
		return ms2SpectrumHeaders;
	}

	public Map getMs2SpectrumHeaderById() {
		return ms2SpectrumHeaderById;
	}

	public Map getSpectrumTimeById() {
		return spectrumTimeById;
	}

	public Map getDataEncodingBySpectrumId() {
		return dataEncodingBySpectrumId;
	}

	public RunSliceHeader[] getRunSliceHeaders() {
		return runSliceHeaders;
	}

	public Map getRunSliceHeaderById() {
		return runSliceHeaderById;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy