Class PointIteratorAdapter

    • Constructor Detail

      • PointIteratorAdapter

        public PointIteratorAdapter​(Iterator<? extends PointFeature> pointIter)
        Creates a PointFeatureIterator from the supplied basic iterator.
        Parameters:
        pointIter - a basic iterator over point features.
    • Method Detail

      • hasNext

        public boolean hasNext()
        Returns 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.

        Returns:
        true if the iteration has more elements, false otherwise. A false return value finishes this iteration.
      • close

        public void close()
        Finishes bounds calculation, if it has been enabled. Do not attempt to retrieve bounds information before this method has been invoked or hasNext() returns false.

        This method is idempotent, meaning that calls after the first have no effect.