@Immutable public class CoordinateVert extends Object implements Coordinate
| Modifier and Type | Class and Description |
|---|---|
static class |
CoordinateVert.Builder1 |
static class |
CoordinateVert.Builder2 |
Coordinate.Type| Constructor and Description |
|---|
CoordinateVert(int code,
VertCoordType vunit,
List<VertCoordValue> levelSorted) |
| Modifier and Type | Method and Description |
|---|---|
ucar.nc2.internal.util.Counters |
calcDistributions() |
boolean |
equals(Object o) |
int |
estMemorySize() |
int |
getCode() |
int |
getIndex(Object val) |
List<VertCoordValue> |
getLevelSorted() |
String |
getName() |
int |
getNCoords() |
int |
getSize() |
Coordinate.Type |
getType() |
String |
getUnit() |
Object |
getValue(int idx) |
List<?> |
getValues() |
VertCoordType |
getVertUnit() |
int |
hashCode() |
boolean |
isLayer() |
boolean |
isPositiveUp() |
void |
setName(String name) |
void |
showCoords(Formatter info) |
void |
showInfo(Formatter info,
ucar.nc2.util.Indent indent) |
public CoordinateVert(int code,
VertCoordType vunit,
List<VertCoordValue> levelSorted)
public List<VertCoordValue> getLevelSorted()
public List<?> getValues()
getValues in interface Coordinatepublic int getIndex(Object val)
getIndex in interface Coordinatepublic Object getValue(int idx)
getValue in interface Coordinatepublic int getSize()
getSize in interface Coordinatepublic int getNCoords()
getNCoords in interface Coordinatepublic Coordinate.Type getType()
getType in interface Coordinatepublic int estMemorySize()
estMemorySize in interface Coordinate@Nullable public String getUnit()
getUnit in interface Coordinatepublic VertCoordType getVertUnit()
public boolean isLayer()
public boolean isPositiveUp()
public int getCode()
getCode in interface Coordinatepublic String getName()
getName in interface Coordinatepublic void setName(String name)
public void showInfo(Formatter info, ucar.nc2.util.Indent indent)
showInfo in interface Coordinatepublic void showCoords(Formatter info)
showCoords in interface Coordinatepublic ucar.nc2.internal.util.Counters calcDistributions()
calcDistributions in interface Coordinate