ps6
Class StreetSegIterator
java.lang.Object
ps6.tigerdb.ImmIterator<StreetSegment>
ps6.StreetSegIterator
- All Implemented Interfaces:
- Iterator<StreetSegment>
public class StreetSegIterator
- extends ImmIterator<StreetSegment>
Functions as an iterator over the set of StreetSegments represented
by the contents of the .zip files in a directory.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreetSegIterator
public StreetSegIterator(Iterator<File> files,
StreetSegmentFilter filter)
- Requires:
- files != null &&
elements of files are of type java.io.File &&
elements of files are .zip files
- Effects:
- creates a new iterator over which produces segments
read in from the given files
hasNext
public boolean hasNext()
next
public StreetSegment next()