Class ReallyFlatIterator
- java.lang.Object
-
- org.intermine.api.results.flatouterjoins.ReallyFlatIterator
-
- All Implemented Interfaces:
java.util.Iterator
public class ReallyFlatIterator extends java.lang.Object implements java.util.Iterator
An Iterator that flattens the contents of another Iterator. It expects the kind of contents produced by the ObjectStoreFlatOuterJoinsImpl.- Author:
- Matthew Wakeling
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Iterator
currentIterator
protected java.util.Iterator
iter
-
Constructor Summary
Constructors Constructor Description ReallyFlatIterator(java.util.Iterator iter)
Constructs a ReallyFlatIterator from another Iterator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
java.lang.Object
next()
void
remove()
This operation is not supported.
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator
-
next
public java.lang.Object next()
- Specified by:
next
in interfacejava.util.Iterator
-
remove
public void remove()
This operation is not supported.- Specified by:
remove
in interfacejava.util.Iterator
-
-