public abstract class MultipleNestedPointCollectionImpl extends java.lang.Object implements NestedPointFeatureCollection
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
name |
| Modifier | Constructor and Description |
|---|---|
protected |
MultipleNestedPointCollectionImpl(java.lang.String name,
FeatureType collectionFeatureType) |
| Modifier and Type | Method and Description |
|---|---|
PointFeatureCollection |
flatten(LatLonRect boundingBox,
DateRange dateRange)
Flatten into a PointFeatureCollection, discarding connectedness information.
|
FeatureType |
getCollectionFeatureType()
All features in this collection have this feature type
|
java.lang.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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNestedPointFeatureCollectionIterator, subsetprotected MultipleNestedPointCollectionImpl(java.lang.String name,
FeatureType collectionFeatureType)
public java.lang.String getName()
FeatureCollectiongetName in interface FeatureCollectionpublic int size()
NestedPointFeatureCollectionsize in interface NestedPointFeatureCollectionprotected void setSize(int npts)
public boolean isMultipleNested()
NestedPointFeatureCollectionisMultipleNested in interface NestedPointFeatureCollectionpublic FeatureType getCollectionFeatureType()
FeatureCollectiongetCollectionFeatureType in interface FeatureCollectionpublic PointFeatureCollectionIterator getPointFeatureCollectionIterator(int bufferSize) throws java.io.IOException
NestedPointFeatureCollectiongetPointFeatureCollectionIterator in interface NestedPointFeatureCollectionbufferSize - how many bytes can be used to buffer data, use -1 to use default.java.io.IOException - on read errorpublic PointFeatureCollection flatten(LatLonRect boundingBox, DateRange dateRange) throws java.io.IOException
NestedPointFeatureCollectionflatten in interface NestedPointFeatureCollectionboundingBox - only points in this lat/lon bounding box. may be null.dateRange - only points in this date range. may be null.java.io.IOException - on read error