Package ucar.nc2.grib.coord
Class CoordinateBuilderImpl<T>
- java.lang.Object
-
- ucar.nc2.grib.coord.CoordinateBuilderImpl<T>
-
- All Implemented Interfaces:
CoordinateBuilder<T>
- Direct Known Subclasses:
CoordinateEns.Builder1
,CoordinateEns.Builder2
,CoordinateRuntime.Builder1
,CoordinateRuntime.Builder2
,CoordinateTime.Builder1
,CoordinateTime.Builder2
,CoordinateTime2D.Builder1
,CoordinateTime2D.Builder2
,CoordinateTimeIntv.Builder1
,CoordinateTimeIntv.Builder2
,CoordinateVert.Builder1
,CoordinateVert.Builder2
public abstract class CoordinateBuilderImpl<T> extends Object implements CoordinateBuilder<T>
Builds one Coordinate of one Variable, by keeping the Set of Values found in the records.- Since:
- 11/27/13
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface ucar.nc2.grib.coord.CoordinateBuilder
CoordinateBuilder.TwoD<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected Coordinate
coord
-
Constructor Summary
Constructors Constructor Description CoordinateBuilderImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Object val)
void
addAll(List<Object> coords)
void
addAll(Coordinate coord)
void
addRecord(T gr)
Coordinate
finish()
Coordinate
getCoordinate()
int
getIndex(T gr)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ucar.nc2.grib.coord.CoordinateBuilder
extract, makeCoordinate
-
-
-
-
Field Detail
-
coord
protected Coordinate coord
-
-
Method Detail
-
addRecord
public void addRecord(T gr)
- Specified by:
addRecord
in interfaceCoordinateBuilder<T>
-
addAll
public void addAll(Coordinate coord)
- Specified by:
addAll
in interfaceCoordinateBuilder<T>
-
add
public void add(Object val)
-
addAll
public void addAll(List<Object> coords)
- Specified by:
addAll
in interfaceCoordinateBuilder<T>
-
finish
public Coordinate finish()
- Specified by:
finish
in interfaceCoordinateBuilder<T>
-
getIndex
public int getIndex(T gr)
- Specified by:
getIndex
in interfaceCoordinateBuilder<T>
-
getCoordinate
public Coordinate getCoordinate()
- Specified by:
getCoordinate
in interfaceCoordinateBuilder<T>
-
-