Class FeatureIteratorImpl<F extends Feature>

    • Constructor Detail

      • FeatureIteratorImpl

        public FeatureIteratorImpl​(Collection<F> collection)
        Create a new SimpleFeatureIterator using the Iterator from the given FeatureCollection.
        collection - The SimpleFeatureCollection to perform the iteration on.
    • Method Detail

      • hasNext

        public boolean hasNext()
        Does another Feature exist in this Iteration.

        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.)

        Specified by:
        hasNext in interface FeatureIterator<F extends Feature>
        true if more Features exist, false otherwise.