ucar.nc2.ft.point
Class PointCollectionImpl.PointCollectionSubset

java.lang.Object
  extended by ucar.nc2.ft.point.PointCollectionImpl
      extended by ucar.nc2.ft.point.PointCollectionImpl.PointCollectionSubset
All Implemented Interfaces:
FeatureCollection, PointFeatureCollection
Enclosing class:
PointCollectionImpl

protected class PointCollectionImpl.PointCollectionSubset
extends PointCollectionImpl


Nested Class Summary
 
Nested classes/interfaces inherited from class ucar.nc2.ft.point.PointCollectionImpl
PointCollectionImpl.PointCollectionSubset
 
Field Summary
protected  PointCollectionImpl from
           
 
Fields inherited from class ucar.nc2.ft.point.PointCollectionImpl
boundingBox, dateRange, localIterator, name, npts
 
Constructor Summary
PointCollectionImpl.PointCollectionSubset(PointCollectionImpl from, LatLonRect filter_bb, DateRange filter_date)
           
 
Method Summary
 PointFeatureIterator getPointFeatureIterator(int bufferSize)
          Get an iterator over the PointFeatures of this collection.
 
Methods inherited from class ucar.nc2.ft.point.PointCollectionImpl
calcBounds, finish, getBoundingBox, getCollectionFeatureType, getDateRange, getName, hasNext, next, resetIteration, setBoundingBox, setDateRange, setSize, size, subset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

from

protected PointCollectionImpl from
Constructor Detail

PointCollectionImpl.PointCollectionSubset

public PointCollectionImpl.PointCollectionSubset(PointCollectionImpl from,
                                                 LatLonRect filter_bb,
                                                 DateRange filter_date)
Method Detail

getPointFeatureIterator

public PointFeatureIterator getPointFeatureIterator(int bufferSize)
                                             throws IOException
Description copied from interface: PointFeatureCollection
Get an iterator over the PointFeatures of this collection. call PointFeatureIterator.finish() when done

Parameters:
bufferSize - how many bytes can be used to buffer data, use -1 to use default.
Returns:
iterator over the PointFeatures of this collection
Throws:
IOException - on read error


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.