Class CsvInteractionEvidenceIterator<T extends InteractionEvidence>
- java.lang.Object
-
- psidev.psi.mi.jami.crosslink.io.iterator.CsvInteractionEvidenceIterator<T>
-
- All Implemented Interfaces:
Iterator<T>
public class CsvInteractionEvidenceIterator<T extends InteractionEvidence> extends Object implements Iterator<T>
Crosslink CSV interaction evidence iterator- Since:
21/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description CsvInteractionEvidenceIterator(com.googlecode.jcsv.reader.CSVReader<T> lineParser)
Constructor for CsvInteractionEvidenceIterator.CsvInteractionEvidenceIterator(com.googlecode.jcsv.reader.CSVReader<T> lineParser, CsvParserListener listener)
Constructor for CsvInteractionEvidenceIterator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
hasNext.T
next()
next.void
remove()
remove.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
CsvInteractionEvidenceIterator
public CsvInteractionEvidenceIterator(com.googlecode.jcsv.reader.CSVReader<T> lineParser) throws MIIOException
Constructor for CsvInteractionEvidenceIterator.
- Parameters:
lineParser
- aCSVReader
object.- Throws:
MIIOException
- if any.
-
CsvInteractionEvidenceIterator
public CsvInteractionEvidenceIterator(com.googlecode.jcsv.reader.CSVReader<T> lineParser, CsvParserListener listener) throws MIIOException
Constructor for CsvInteractionEvidenceIterator.
- Parameters:
lineParser
- aCSVReader
object.listener
- aCsvParserListener
object.- Throws:
MIIOException
- if any.
-
-
Method Detail
-
hasNext
public boolean hasNext()
hasNext.
- Specified by:
hasNext
in interfaceIterator<T extends InteractionEvidence>
- Returns:
- a boolean.
-
next
public T next() throws MIIOException
next.
- Specified by:
next
in interfaceIterator<T extends InteractionEvidence>
- Returns:
- a T object.
- Throws:
MIIOException
- if any.
-
remove
public void remove()
remove.
- Specified by:
remove
in interfaceIterator<T extends InteractionEvidence>
-
-