gov.noaa.pmel.util
Class SoTValue

java.lang.Object
  |
  +--gov.noaa.pmel.util.SoTValue
Direct Known Subclasses:
SoTValue.Double, SoTValue.Float, SoTValue.GeoDate, SoTValue.Integer, SoTValue.Short

public abstract class SoTValue
extends java.lang.Object

SoTValue 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.

Since:
sgt 2.0
Version:
$Revision: 1.4 $, $Date: 2001/09/18 19:06:39 $
Author:
Donald Denbo

Inner Class Summary
static class SoTValue.Double
          Inner class for SoTRange for type double.
static class SoTValue.Float
          Inner class for SoTRange for type float.
static class SoTValue.GeoDate
          Inner class for SoTRange for type GeoDate.
static class SoTValue.Integer
          Inner class for SoTRange for type int.
static class SoTValue.Short
          Inner class for SoTRange for type short.
 
Method Summary
abstract  boolean equals(SoTValue val)
           
abstract  java.lang.Object getObjectValue()
           
abstract  boolean isTime()
           
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

isTime

public abstract boolean isTime()

toString

public abstract java.lang.String toString()
Description copied from class: java.lang.Object
Returns a string representation of the object. In general, the 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())
 
Overrides:
toString in class java.lang.Object
Following copied from class: java.lang.Object
Returns:
a string representation of the object.

equals

public abstract boolean equals(SoTValue val)

getObjectValue

public abstract java.lang.Object getObjectValue()


Send comments about the Scientific Graphics toolkit to dwd@pmel.noaa.gov. For more information about Java Development in the EPIC Group see the EPIC Software Page
Generated on December 13 2001