|
SGT Home | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gov.noaa.pmel.util.SoTRange
SoTRange
is an abstract class used to wrap either a
double
or GeoDate
. SoT stands for
space or time, but being basically lazy I've abbreviated it.
Contains minimum, maximum, and delta SoTRange
.
The SoTRange
object represents the range of all
missing data as Double.NaN
as the start and end values for data of type Double
and return GeoDate(Long.MIN_VALUE)
for data of type
GeoDate
.
SGTData
, Serialized FormInner Class Summary | |
static class |
SoTRange.Double
Inner class for SoTRange for type
double . |
static class |
SoTRange.Float
Inner class for SoTRange for type
flaot . |
static class |
SoTRange.GeoDate
Inner class for SoTRange for type
GeoDate . |
static class |
SoTRange.Integer
Inner class for SoTRange for type
integer . |
static class |
SoTRange.Short
Inner class for SoTRange for type
short . |
Method Summary | |
abstract void |
add(SoTRange range)
|
abstract SoTRange |
copy()
|
abstract boolean |
equals(SoTRange range)
|
abstract void |
flipStartAndEnd()
|
abstract SoTValue |
getDelta()
|
abstract java.lang.Object |
getDeltaObject()
|
abstract SoTValue |
getEnd()
|
abstract java.lang.Object |
getEndObject()
|
abstract SoTValue |
getStart()
|
abstract java.lang.Object |
getStartObject()
|
abstract boolean |
isStartOrEndMissing()
|
abstract boolean |
isTime()
|
abstract void |
setDelta(SoTValue value)
|
abstract void |
setEnd(SoTValue value)
|
abstract void |
setStart(SoTValue value)
|
abstract java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public abstract boolean isTime()
public abstract java.lang.String toString()
java.lang.Object
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
toString
in class java.lang.Object
java.lang.Object
public abstract boolean equals(SoTRange range)
public abstract void add(SoTRange range)
public abstract SoTValue getStart()
public abstract SoTValue getEnd()
public abstract SoTValue getDelta()
public abstract java.lang.Object getStartObject()
public abstract java.lang.Object getEndObject()
public abstract java.lang.Object getDeltaObject()
public abstract void setStart(SoTValue value)
public abstract void setEnd(SoTValue value)
public abstract void setDelta(SoTValue value)
public abstract void flipStartAndEnd()
public abstract boolean isStartOrEndMissing()
public abstract SoTRange copy()
|
SGT Home | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |