|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.nc2.ft.point.MultipleNestedPointCollectionImpl
public abstract class MultipleNestedPointCollectionImpl
Abstract superclass for multiply nested NestedPointFeatureCollection Subclass must supply getNestedPointFeatureCollectionIterator().
Field Summary | |
---|---|
protected String |
name
|
Constructor Summary | |
---|---|
protected |
MultipleNestedPointCollectionImpl(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. |
PointFeatureCollectionIterator |
getPointFeatureCollectionIterator(int bufferSize)
Iterate through the collection, composed of PointFeatureCollection. |
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 |
---|
getNestedPointFeatureCollectionIterator, subset |
Field Detail |
---|
protected String name
Constructor Detail |
---|
protected MultipleNestedPointCollectionImpl(String name, FeatureType collectionFeatureType)
Method Detail |
---|
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 PointFeatureCollectionIterator getPointFeatureCollectionIterator(int bufferSize) throws IOException
NestedPointFeatureCollection
getPointFeatureCollectionIterator
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
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 error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |