Package psidev.psi.mi.jami.datasource
Interface InteractionSource<T extends Interaction>
-
- All Superinterfaces:
InteractionStream<T>,MIDataSource
- All Known Subinterfaces:
BinaryInteractionEvidenceSource,BinaryInteractionSource<T>,ComplexSource,CsvSource<I>,InteractionEvidenceSource<T>,MitabSource<I>,ModelledBinaryInteractionSource,ModelledInteractionSource<T>,PsiXmlSource<I>
- All Known Implementing Classes:
AbstractCsvSource,AbstractMitabSource,AbstractPsiXmlBinarySource,AbstractPsiXmlSource,CsvBinaryEvidenceSource,CsvEvidenceSource,CsvMixedEvidenceSource,CsvNaryEvidenceSource,DefaultMitabSource,DefaultPsiXmlSource,LightMitabBinarySource,LightMitabSource,LightXmlBinarySource,LightXmlSource,MitabBinaryEvidenceSource,MitabEvidenceSource,MitabModelledBinarySource,MitabModelledSource,XmlBinaryEvidenceSource,XmlBinarySource,XmlComplexSource,XmlEvidenceSource,XmlModelledBinarySource,XmlModelledSource,XmlSource
public interface InteractionSource<T extends Interaction> extends InteractionStream<T>
A Data source of interactions. It gives full access to all the interactions using Iterator or the full collection. It can also give information about the size of the dataSource- Since:
08/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<T>getInteractions()The collection of Interactions for this datasourcelonggetNumberOfInteractions()getNumberOfInteractions-
Methods inherited from interface psidev.psi.mi.jami.datasource.InteractionStream
getInteractionsIterator
-
Methods inherited from interface psidev.psi.mi.jami.datasource.MIDataSource
close, initialiseContext, reset
-
-
-
-
Method Detail
-
getInteractions
Collection<T> getInteractions() throws MIIOException
The collection of Interactions for this datasource- Returns:
- collection of Interactions for this datasource
- Throws:
MIIOException- if any.
-
getNumberOfInteractions
long getNumberOfInteractions()
getNumberOfInteractions
- Returns:
- a long.
-
-