|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectucar.nc2.ft.point.OneNestedPointCollectionImpl
public abstract class OneNestedPointCollectionImpl
Abstract superclass for singly nested NestedPointFeatureCollection Subclass must supply getPointFeatureCollectionIterator()
| Field Summary | |
|---|---|
protected int |
npts
|
| Constructor Summary | |
|---|---|
protected |
OneNestedPointCollectionImpl(String name,
FeatureType collectionFeatureType)
|
| Method Summary | |
|---|---|
PointFeatureCollection |
flatten(LatLonRect boundingBox,
DateRange dateRange)
Flatten into a PointFeatureCollection, discarding connectedness information. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ucar.nc2.ft.NestedPointFeatureCollection |
|---|
getPointFeatureCollectionIterator, subset |
| Field Detail |
|---|
protected int npts
| Constructor Detail |
|---|
protected OneNestedPointCollectionImpl(String name,
FeatureType collectionFeatureType)
| Method Detail |
|---|
public String getName()
FeatureCollection
getName in interface FeatureCollectionpublic int size()
NestedPointFeatureCollection
size in interface NestedPointFeatureCollectionprotected void setSize(int npts)
public boolean isMultipleNested()
NestedPointFeatureCollection
isMultipleNested in interface NestedPointFeatureCollectionpublic FeatureType getCollectionFeatureType()
FeatureCollection
getCollectionFeatureType in interface FeatureCollection
public NestedPointFeatureCollectionIterator getNestedPointFeatureCollectionIterator(int bufferSize)
throws IOException
NestedPointFeatureCollection
getNestedPointFeatureCollectionIterator in interface NestedPointFeatureCollectionbufferSize - how many bytes can be used to buffer data, use -1 to use default.
IOException - on read error
public PointFeatureCollection flatten(LatLonRect boundingBox,
DateRange dateRange)
throws IOException
NestedPointFeatureCollection
flatten in interface NestedPointFeatureCollectionboundingBox - only points in this lat/lon bounding box. may be null.dateRange - only points in this date range. may be null.
IOException - on read error
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||