Class SpatialIterator

java.lang.Object
ca.spatial.table.SpatialIterator
All Implemented Interfaces:
Iterator<Integer>

public class SpatialIterator extends Object implements Iterator<Integer>
Spatial restriction iterator for spatial data stores
  • Constructor Details

    • SpatialIterator

      public SpatialIterator(ShapeStore s, Extent2D e)
      Full constructor
    • SpatialIterator

      public SpatialIterator(ShapeStore s, double x, double y, double width, double height)
      Convenience constructor
  • Method Details

    • hasNext

      public boolean hasNext()
      Iterator contains more data
      Specified by:
      hasNext in interface Iterator<Integer>
    • next

      public Integer next()
      Fetch next object
      Specified by:
      next in interface Iterator<Integer>
    • remove

      public void remove()
      Optional method required by the Iterator interface
      Specified by:
      remove in interface Iterator<Integer>