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