public static class ThreddsMetadata.Range
extends java.lang.Object
Constructor and Description |
---|
Range(double start,
double size,
double resolution,
java.lang.String units)
Constructor
|
Range(ThreddsMetadata.Range from)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
void |
extend(ThreddsMetadata.Range r) |
double |
getResolution() |
double |
getSize() |
double |
getStart() |
java.lang.String |
getUnits() |
int |
hashCode()
Override Object.hashCode() to implement equals.
|
boolean |
hasResolution() |
public Range(double start, double size, double resolution, java.lang.String units)
start
- starting valuesize
- ending = start + sizeresolution
- data resolution, or NaN if unknownunits
- what units are start, size in?public Range(ThreddsMetadata.Range from)
from
- copy thispublic double getStart()
public double getSize()
public double getResolution()
public java.lang.String getUnits()
public boolean hasResolution()
public void extend(ThreddsMetadata.Range r)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object