Package ucar.nc2.grib.coord
Class VertCoordValue
- java.lang.Object
-
- ucar.nc2.grib.coord.VertCoordValue
-
- All Implemented Interfaces:
Comparable<VertCoordValue>
@Immutable public class VertCoordValue extends Object implements Comparable<VertCoordValue>
-
-
Constructor Summary
Constructors Constructor Description VertCoordValue(double value1)
VertCoordValue(double value1, double value2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(VertCoordValue o)
boolean
equals(Object o)
double
getMid()
double
getValue1()
double
getValue2()
int
hashCode()
boolean
isLayer()
boolean
nearlyEquals(VertCoordValue other)
String
toString()
String
toString(boolean isLayer)
-
-
-
Method Detail
-
getValue1
public double getValue1()
-
getValue2
public double getValue2()
-
getMid
public double getMid()
-
isLayer
public boolean isLayer()
-
compareTo
public int compareTo(@Nonnull VertCoordValue o)
- Specified by:
compareTo
in interfaceComparable<VertCoordValue>
-
nearlyEquals
public boolean nearlyEquals(VertCoordValue other)
-
toString
public String toString(boolean isLayer)
-
-