Package ucar.nc2.grib.coord
Class CoordinateTime2D.Builder2
- java.lang.Object
-
- ucar.nc2.grib.coord.CoordinateBuilderImpl<Grib2Record>
-
- ucar.nc2.grib.coord.CoordinateTime2D.Builder2
-
- All Implemented Interfaces:
CoordinateBuilder<Grib2Record>
,CoordinateBuilder.TwoD<Grib2Record>
- Enclosing class:
- CoordinateTime2D
public static class CoordinateTime2D.Builder2 extends CoordinateBuilderImpl<Grib2Record> implements CoordinateBuilder.TwoD<Grib2Record>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface ucar.nc2.grib.coord.CoordinateBuilder
CoordinateBuilder.TwoD<T>
-
-
Field Summary
-
Fields inherited from class ucar.nc2.grib.coord.CoordinateBuilderImpl
coord
-
-
Constructor Summary
Constructors Constructor Description Builder2(boolean isTimeInterval, Grib2Tables cust, CalendarPeriod timeUnit, int code)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAll(Coordinate coord)
void
addRecord(Grib2Record gr)
Object
extract(Grib2Record gr)
int[]
getCoordIndices(Grib2Record gr)
Coordinate
makeCoordinate(List<Object> values)
-
Methods inherited from class ucar.nc2.grib.coord.CoordinateBuilderImpl
add, addAll, finish, getCoordinate, getIndex
-
-
-
-
Constructor Detail
-
Builder2
public Builder2(boolean isTimeInterval, Grib2Tables cust, CalendarPeriod timeUnit, int code)
-
-
Method Detail
-
addRecord
public void addRecord(Grib2Record gr)
- Specified by:
addRecord
in interfaceCoordinateBuilder<Grib2Record>
- Overrides:
addRecord
in classCoordinateBuilderImpl<Grib2Record>
-
extract
public Object extract(Grib2Record gr)
- Specified by:
extract
in interfaceCoordinateBuilder<Grib2Record>
-
makeCoordinate
public Coordinate makeCoordinate(List<Object> values)
- Specified by:
makeCoordinate
in interfaceCoordinateBuilder<Grib2Record>
-
addAll
public void addAll(Coordinate coord)
- Specified by:
addAll
in interfaceCoordinateBuilder<Grib2Record>
- Overrides:
addAll
in classCoordinateBuilderImpl<Grib2Record>
-
getCoordIndices
public int[] getCoordIndices(Grib2Record gr)
- Specified by:
getCoordIndices
in interfaceCoordinateBuilder.TwoD<Grib2Record>
-
-