// Path: core/src/main/java/edu/ucdavis/fiehnlab/spectra/hash/core/Spectrum.java
// public interface Spectrum {
// 
//     /**
//      * ion of a spectra
//      * @return
//      */
//     public List<Ion> getIons();
// 
//     /**
//      * convmerts the spectrum to a relative spectra
//      * @return
//      * @param scale
//      */
//     Spectrum toRelative(int scale);
// 
//     /**
//      *
//      * @return
//      */
//     String getOrigin();
// 
//     /**
//      * what kind of a spectra do we have
//      * @return
//      */
//     public SpectraType getType();
// }


import edu.ucdavis.fiehnlab.spectra.hash.core.Spectrum;
package edu.ucdavis.fiehnlab.spectra.hash.core.listener;


/**
 * a simple listener to react to different splashing events
 */
public interface SplashListener {

    /**
     * let's listener know that a new hash was created
     * @param e
     */
    void eventReceived(SplashingEvent e);

    /**
     * notificaton that the hashing is finished
     * @param spectrum
     * @param splash
     */
// Path: core/src/main/java/edu/ucdavis/fiehnlab/spectra/hash/core/Spectrum.java
// public interface Spectrum {
// 
//     /**
//      * ion of a spectra
//      * @return
//      */
//     public List<Ion> getIons();
// 
//     /**
//      * convmerts the spectrum to a relative spectra
//      * @return
//      * @param scale
//      */
//     Spectrum toRelative(int scale);
// 
//     /**
//      *
//      * @return
//      */
//     String getOrigin();
// 
//     /**
//      * what kind of a spectra do we have
//      * @return
//      */
//     public SpectraType getType();
// }


// Path: core/src/main/java/edu/ucdavis/fiehnlab/spectra/hash/core/listener/SplashListener.java
import edu.ucdavis.fiehnlab.spectra.hash.core.Spectrum;

package edu.ucdavis.fiehnlab.spectra.hash.core.listener;


/**
 * a simple listener to react to different splashing events
 */
public interface SplashListener {

    /**
     * let's listener know that a new hash was created
     * @param e
     */
    void eventReceived(SplashingEvent e);

    /**
     * notificaton that the hashing is finished
     * @param spectrum
     * @param splash
     */
    void complete(Spectrum spectrum, String splash);