com.metsci.glimpse.charts.vector.iteration
Class GeoStreamIterator<V extends GeoObject>
java.lang.Object
com.metsci.glimpse.charts.vector.iteration.GeoStreamIterator<V>
- All Implemented Interfaces:
- GeoObjectIterator<V>, java.util.Iterator<V>
public class GeoStreamIterator<V extends GeoObject>
- extends java.lang.Object
- implements GeoObjectIterator<V>, java.util.Iterator<V>
Given single or multiple streams of geo objects, this class will iterate over
every GeoObject in those streams.
- Author:
- john
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeoStreamIterator
public GeoStreamIterator(java.lang.String resources,
StreamToGeoObjectConverter<V> loader)
throws java.io.IOException
- Throws:
java.io.IOException
GeoStreamIterator
public GeoStreamIterator(java.io.InputStream inputStream,
StreamToGeoObjectConverter<V> loader)
throws java.io.IOException
- Throws:
java.io.IOException
GeoStreamIterator
public GeoStreamIterator(StreamToGeoObjectConverter<V> loader,
java.io.InputStream... streams)
throws java.io.IOException
- Throws:
java.io.IOException
addFilter
public void addFilter(GeoFilter<V> filter)
clearFilters
public void clearFilters()
init
public void init()
throws java.io.IOException
- Throws:
java.io.IOException
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface GeoObjectIterator<V extends GeoObject>
- Specified by:
hasNext
in interface java.util.Iterator<V extends GeoObject>
next
public V next()
- Specified by:
next
in interface java.util.Iterator<V extends GeoObject>
nextGeo
public V nextGeo()
throws java.io.IOException
- Specified by:
nextGeo
in interface GeoObjectIterator<V extends GeoObject>
- Throws:
java.io.IOException
remove
public void remove()
- Specified by:
remove
in interface java.util.Iterator<V extends GeoObject>
Copyright © 2012 Metron, Inc.. All Rights Reserved.