Package thredds.catalog
Class ThreddsMetadata.Range
- java.lang.Object
-
- thredds.catalog.ThreddsMetadata.Range
-
- Enclosing class:
- ThreddsMetadata
public static class ThreddsMetadata.Range extends Object
Implements spatialRange type.
-
-
Constructor Summary
Constructors Constructor Description Range(double start, double size, double resolution, String units)
ConstructorRange(ThreddsMetadata.Range from)
Copy constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
void
extend(ThreddsMetadata.Range r)
double
getResolution()
double
getSize()
double
getStart()
String
getUnits()
int
hashCode()
Override Object.hashCode() to implement equals.boolean
hasResolution()
-
-
-
Constructor Detail
-
Range
public Range(double start, double size, double resolution, String units)
Constructor- Parameters:
start
- starting valuesize
- ending = start + sizeresolution
- data resolution, or NaN if unknownunits
- what units are start, size in?
-
Range
public Range(ThreddsMetadata.Range from)
Copy constructor- Parameters:
from
- copy this
-
-
Method Detail
-
getStart
public double getStart()
-
getSize
public double getSize()
-
getResolution
public double getResolution()
-
getUnits
public String getUnits()
-
hasResolution
public boolean hasResolution()
-
extend
public void extend(ThreddsMetadata.Range r)
-
-