Package ucar.nc2.ft.point
Class PointFeatureCopyFactory
- java.lang.Object
-
- ucar.nc2.ft.point.PointFeatureCopyFactory
-
public class PointFeatureCopyFactory extends Object
A factory for making deep copies of PointFeature, so all data is self contained. A factory will use the first PointFeature to get the StructureMembers object, and the DateUnits, and uses that for all copies. So all PointFeatures must have the same StructureMembers and DateUnit.- Since:
- 6/20/2014
-
-
Constructor Summary
Constructors Constructor Description PointFeatureCopyFactory(PointFeature proto)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PointFeature
deepCopy(PointFeature from)
int
getSizeInBytes()
approx size of each copy
-
-
-
Constructor Detail
-
PointFeatureCopyFactory
public PointFeatureCopyFactory(PointFeature proto) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getSizeInBytes
public int getSizeInBytes()
approx size of each copy- Returns:
- approx size of each copy
-
deepCopy
public PointFeature deepCopy(PointFeature from) throws IOException
- Throws:
IOException
-
-