public abstract class OneNestedPointCollectionImpl extends Object implements NestedPointFeatureCollection
Modifier and Type | Field and Description |
---|---|
protected int |
npts |
Modifier | Constructor and Description |
---|---|
protected |
OneNestedPointCollectionImpl(String name,
FeatureType collectionFeatureType) |
Modifier and Type | Method and Description |
---|---|
PointFeatureCollection |
flatten(LatLonRect boundingBox,
CalendarDateRange dateRange)
Flatten into a PointFeatureCollection, discarding connectedness information.
|
PointFeatureCollection |
flatten(LatLonRect boundingBox,
DateRange dateRange) |
FeatureType |
getCollectionFeatureType()
All features in this collection have this feature type
|
String |
getName()
Get the name of this feature collection.
|
NestedPointFeatureCollectionIterator |
getNestedPointFeatureCollectionIterator(int bufferSize)
Iterate through the collection, composed of NestedPointFeatureCollection.
|
boolean |
isMultipleNested()
If true, use getNestedPointFeatureCollectionIterator, otherwise use getPointFeatureCollectionIterator.
|
protected void |
setSize(int npts) |
int |
size()
The number of elements in the collection.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPointFeatureCollectionIterator, subset
protected OneNestedPointCollectionImpl(String name, FeatureType collectionFeatureType)
public String getName()
FeatureCollection
getName
in interface FeatureCollection
public int size()
NestedPointFeatureCollection
size
in interface NestedPointFeatureCollection
protected void setSize(int npts)
public boolean isMultipleNested()
NestedPointFeatureCollection
isMultipleNested
in interface NestedPointFeatureCollection
public FeatureType getCollectionFeatureType()
FeatureCollection
getCollectionFeatureType
in interface FeatureCollection
public NestedPointFeatureCollectionIterator getNestedPointFeatureCollectionIterator(int bufferSize) throws IOException
NestedPointFeatureCollection
getNestedPointFeatureCollectionIterator
in interface NestedPointFeatureCollection
bufferSize
- how many bytes can be used to buffer data, use -1 to use default.IOException
- on read errorpublic PointFeatureCollection flatten(LatLonRect boundingBox, DateRange dateRange) throws IOException
flatten
in interface NestedPointFeatureCollection
IOException
public PointFeatureCollection flatten(LatLonRect boundingBox, CalendarDateRange dateRange) throws IOException
NestedPointFeatureCollection
flatten
in interface NestedPointFeatureCollection
boundingBox
- only points in this lat/lon bounding box. may be null.dateRange
- only points in this date range. may be null.IOException
- on read errorCopyright © 1999–2015 UCAR/Unidata. All rights reserved.