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 intcompareTo(VertCoordValue o)booleanequals(Object o)doublegetMid()doublegetValue1()doublegetValue2()inthashCode()booleanisLayer()booleannearlyEquals(VertCoordValue other)StringtoString()StringtoString(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:
compareToin interfaceComparable<VertCoordValue>
-
nearlyEquals
public boolean nearlyEquals(VertCoordValue other)
-
toString
public String toString(boolean isLayer)
-
-