Class AbstractMitabIterator<T extends Interaction,P extends Participant,F extends Feature>
- java.lang.Object
-
- psidev.psi.mi.jami.tab.io.iterator.AbstractMitabIterator<T,P,F>
-
- All Implemented Interfaces:
Iterator<T>
- Direct Known Subclasses:
MitabBinaryEvidenceIterator
,MitabBinaryIterator
,MitabInteractionEvidenceIterator
,MitabInteractionIterator
,MitabModelledBinaryIterator
,MitabModelledInteractionIterator
public abstract class AbstractMitabIterator<T extends Interaction,P extends Participant,F extends Feature> extends Object implements Iterator<T>
Abstract class for mitab iterator- Since:
21/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description AbstractMitabIterator(MitabLineParser<T,P,F> lineParser)
Constructor for AbstractMitabIterator.
-
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
-
AbstractMitabIterator
public AbstractMitabIterator(MitabLineParser<T,P,F> lineParser) throws MIIOException
Constructor for AbstractMitabIterator.
- Parameters:
lineParser
- aMitabLineParser
object.- Throws:
MIIOException
- if any.
-
-
Method Detail
-
hasNext
public boolean hasNext()
hasNext.
- Specified by:
hasNext
in interfaceIterator<T extends Interaction>
- Returns:
- a boolean.
-
next
public T next() throws MIIOException
next.
- Specified by:
next
in interfaceIterator<T extends Interaction>
- Returns:
- a T object.
- Throws:
MIIOException
- if any.
-
remove
public void remove()
remove.
- Specified by:
remove
in interfaceIterator<T extends Interaction>
-
-