public class PointIteratorFiltered extends PointIteratorAbstract
| Modifier and Type | Class and Description |
|---|---|
static class |
PointIteratorFiltered.SpaceAndTimeFilter
A filter that only permits features whose lat/lon falls within a given bounding box AND whose
observation time falls within a given date range.
|
PointFeatureIterator.FiltercalcBounds, info| Constructor and Description |
|---|
PointIteratorFiltered(PointFeatureIterator orgIter,
LatLonRect filter_bb,
CalendarDateRange filter_date) |
PointIteratorFiltered(PointFeatureIterator origIter,
PointFeatureIterator.Filter filter) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Make sure that the iterator is complete, and recover resources.
|
boolean |
hasNext()
Returns
true if the iteration has more elements. |
PointFeature |
next()
Returns the next element in the iteration.
|
calcBounds, finishCalcBounds, setCalculateBoundspublic PointIteratorFiltered(PointFeatureIterator orgIter, LatLonRect filter_bb, CalendarDateRange filter_date)
public PointIteratorFiltered(PointFeatureIterator origIter, PointFeatureIterator.Filter filter)
public boolean hasNext()
true if the iteration has more elements. (In other words, returns true if next()
would return an element rather than throwing an exception.)
This method is idempotent, meaning that when it is called repeatedly without an intervening
next(), calls after the first will have no effect.true if the iteration has more elementspublic PointFeature next() throws java.util.NoSuchElementException
java.util.NoSuchElementException - if the iteration has no more elements.public void close()
PointFeatureIterator