package psidev.psi.mi.jami.datasource;

import psidev.psi.mi.jami.model.*;

import java.util.Iterator;

/**
 * An interaction data source allows to stream the interactors of a given datasource
 *
 * @author Marine Dumousseau (marine@ebi.ac.uk)
 * @version $Id$
 * @since <pre>18/12/12</pre>
 */

public interface StreamingInteractionSource extends MolecularInteractionDataSource{

    public Iterator<? extends InteractionEvidence> getInteractionEvidencesIterator();
    public Iterator<? extends ModelledInteraction> getModelledInteractionsIterator();
    public Iterator<? extends CooperativeInteraction> getCooperativeInteractionsIterator();
    public Iterator<? extends AllostericInteraction> getAllostericInteractionsIterator();
    public Iterator<? extends Interaction> getInteractionsIterator();
}

@@ -550,190 +550,8 @@
 ();%0A
-    public Iterator%3C? extends CooperativeInteraction%3E getCooperativeInteractionsIterator();%0A    public Iterator%3C? extends AllostericInteraction%3E getAllostericInteractionsIterator();%0A
     

Fix compilation problem with StreamingInteractionSource