/*******************************************************************************  * Copyright (c) 2008-2009  Stefan Kuhn <stefan.kuhn@ebi.ac.uk>  *  * All rights reserved. This program and the accompanying materials  * are made available under the terms of the Eclipse Public License v1.0  * which accompanies this distribution, and is available at  * www.eclipse.org—epl-v10.html <http://www.eclipse.org/legal/epl-v10.html>  *  * Contact: http://www.bioclipse.net/  ******************************************************************************/ package net.bioclipse.spectrum.domain; import net.bioclipse.core.domain.ISpectrum; import org.xmlcml.cml.element.CMLPeak; import org.xmlcml.cml.element.CMLSpectrum; public interface IJumboSpectrum extends ISpectrum { public CMLSpectrum getJumboObject(); public CMLPeak addPeak(double x, double y); public CMLPeak removePeak(int position); public CMLPeak replacePeak(int position, double x, double y); }