Package ucar.nc2.grib.coord
Class CoordinateEns
- java.lang.Object
-
- ucar.nc2.grib.coord.CoordinateEns
-
- All Implemented Interfaces:
Coordinate
@Immutable public class CoordinateEns extends Object implements Coordinate
Ensemble coordinates- Since:
- 2/22/14
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CoordinateEns.Builder1
static class
CoordinateEns.Builder2
-
Nested classes/interfaces inherited from interface ucar.nc2.grib.coord.Coordinate
Coordinate.Type
-
-
Constructor Summary
Constructors Constructor Description CoordinateEns(int code, List<EnsCoordValue> ensSorted)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Counters
calcDistributions()
boolean
equals(Object o)
int
estMemorySize()
int
getCode()
List<EnsCoordValue>
getEnsSorted()
int
getIndex(Object val)
int
getIndexByMember(double need)
String
getName()
int
getNCoords()
int
getSize()
Coordinate.Type
getType()
String
getUnit()
Object
getValue(int idx)
List<?>
getValues()
int
hashCode()
void
setName(String name)
void
showCoords(Formatter info)
void
showInfo(Formatter info, Indent indent)
-
-
-
Constructor Detail
-
CoordinateEns
public CoordinateEns(int code, List<EnsCoordValue> ensSorted)
-
-
Method Detail
-
getEnsSorted
public List<EnsCoordValue> getEnsSorted()
-
getValues
public List<?> getValues()
- Specified by:
getValues
in interfaceCoordinate
-
getIndex
public int getIndex(Object val)
- Specified by:
getIndex
in interfaceCoordinate
-
getValue
public Object getValue(int idx)
- Specified by:
getValue
in interfaceCoordinate
-
getIndexByMember
public int getIndexByMember(double need)
-
getSize
public int getSize()
- Specified by:
getSize
in interfaceCoordinate
-
getNCoords
public int getNCoords()
- Specified by:
getNCoords
in interfaceCoordinate
-
estMemorySize
public int estMemorySize()
- Specified by:
estMemorySize
in interfaceCoordinate
-
getType
public Coordinate.Type getType()
- Specified by:
getType
in interfaceCoordinate
-
getUnit
public String getUnit()
- Specified by:
getUnit
in interfaceCoordinate
-
getCode
public int getCode()
- Specified by:
getCode
in interfaceCoordinate
-
getName
public String getName()
- Specified by:
getName
in interfaceCoordinate
-
setName
public void setName(String name)
-
showInfo
public void showInfo(Formatter info, Indent indent)
- Specified by:
showInfo
in interfaceCoordinate
-
showCoords
public void showCoords(Formatter info)
- Specified by:
showCoords
in interfaceCoordinate
-
calcDistributions
public Counters calcDistributions()
- Specified by:
calcDistributions
in interfaceCoordinate
-
-