public class PostFilteringMappingFeatureIterator extends Object implements IMappingFeatureIterator
Modifier and Type | Field and Description |
---|---|
protected int |
count |
protected FeatureIterator<Feature> |
delegate |
protected Filter |
filter |
protected int |
maxFeatures |
protected Feature |
next |
Constructor and Description |
---|
PostFilteringMappingFeatureIterator(FeatureIterator<Feature> iterator,
Filter filter,
int maxFeatures,
int offset) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this iterator and releases any system resources associated with it.
|
protected Feature |
getFilteredNext() |
boolean |
hasNext()
Does another Feature exist in this Iteration.
|
Feature |
next()
Get the next Feature in this iteration.
|
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected FeatureIterator<Feature> delegate
protected Feature next
protected Filter filter
protected int maxFeatures
protected int count
public PostFilteringMappingFeatureIterator(FeatureIterator<Feature> iterator, Filter filter, int maxFeatures, int offset)
public void close()
FeatureIterator
close
in interface Closeable
close
in interface AutoCloseable
close
in interface FeatureIterator<Feature>
protected Feature getFilteredNext()
public boolean hasNext()
FeatureIterator
Iterator defin: Returns true if the iteration has more elements. (In other words, returns true if next would return an element rather than throwing an exception.)
public Feature next()
FeatureIterator
Copyright © 1996–2022 Geotools. All rights reserved.