|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvisad.ThingImpl
visad.DataImpl
visad.Tuple
ucar.unidata.data.point.PointObTuple
public class PointObTuple
Implementation of PointOb as a Tuple. This is immutable.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class visad.DataImpl |
|---|
DataImpl.Syncher |
| Field Summary |
|---|
| Fields inherited from class visad.Tuple |
|---|
cloneCnt |
| Fields inherited from interface ucar.unidata.data.point.PointOb |
|---|
BAD_INDEX, PARAM_ALT, PARAM_ID, PARAM_IDN, PARAM_LAT, PARAM_LON, PARAM_TIME |
| Fields inherited from interface visad.Data |
|---|
ABS, ACOS, ACOS_DEGREES, ADD, ASIN, ASIN_DEGREES, ATAN, ATAN_DEGREES, ATAN2, ATAN2_DEGREES, CEIL, COS, COS_DEGREES, DEGREES_TO_RADIANS, DEPENDENT, DIVIDE, EXP, FLOOR, INDEPENDENT, INV_ATAN2, INV_ATAN2_DEGREES, INV_DIVIDE, INV_POW, INV_REMAINDER, INV_SUBTRACT, LOG, MAX, MIN, MULTIPLY, NEAREST_NEIGHBOR, NEGATE, NO_ERRORS, NOP, POW, RADIANS_TO_DEGREES, REMAINDER, RINT, ROUND, SIN, SIN_DEGREES, SQRT, SUBTRACT, TAN, TAN_DEGREES, WEIGHTED_AVERAGE |
| Constructor Summary | |
|---|---|
PointObTuple(EarthLocation location,
DateTime dateTime,
Data data)
Construct a new PointObTuple from the given location, date/time and data. |
|
PointObTuple(EarthLocation location,
DateTime dateTime,
Data data,
TupleType tupleType)
Construct a new PointObTuple from the given location, date/time and data. |
|
PointObTuple(EarthLocation location,
DateTime dateTime,
Data data,
TupleType tupleType,
boolean checkType)
Construct a new PointObTuple from the given location, date/time and data. |
|
| Method Summary | |
|---|---|
Object |
clone()
Clones this instance. |
boolean |
equals(Object o)
Check to see if this is equal to o |
Data |
getComponent(int i)
Get the i'th component |
Data[] |
getComponents(boolean copy)
Create, if needed, and return the component array. |
Data |
getData()
Get the data associated with this object. |
DateTime |
getDateTime()
Get the time associated with this observation. |
EarthLocation |
getEarthLocation()
Get the geolocated location of the observation. |
int |
hashCode()
Returns the hash code of this object. |
boolean |
isMissing()
Is this missing? |
String |
toString()
String representation of the point observation. |
| Methods inherited from class visad.Tuple |
|---|
__getitem__, __len__, adjustSamplingError, binary, buildTupleType, computeRanges, getComponents, getDimension, getLength, getRealComponents, longString, makeTuple, unary |
| Methods inherited from class visad.DataImpl |
|---|
__add__, __add__, __div__, __div__, __mod__, __mod__, __mul__, __mul__, __neg__, __pow__, __pow__, __radd__, __rdiv__, __rmod__, __rmul__, __rpow__, __rsub__, __sub__, __sub__, abs, abs, acos, acos, acosDegrees, acosDegrees, add, add, asin, asin, asinDegrees, asinDegrees, atan, atan, atan2, atan2, atan2Degrees, atan2Degrees, atanDegrees, atanDegrees, binary, ceil, ceil, changeMathType, computeRanges, computeRanges, cos, cos, cosDegrees, cosDegrees, dataClone, divide, divide, exp, exp, floor, floor, getType, local, log, log, longString, main, max, max, min, min, multiply, multiply, negate, negate, notifyReferences, pow, pow, remainder, remainder, rint, rint, round, round, sin, sin, sinDegrees, sinDegrees, sqrt, sqrt, subtract, subtract, tan, tan, tanDegrees, tanDegrees, unary |
| Methods inherited from class visad.ThingImpl |
|---|
addReference, removeReference |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface visad.Data |
|---|
abs, abs, acos, acos, acosDegrees, acosDegrees, add, add, adjustSamplingError, asin, asin, asinDegrees, asinDegrees, atan, atan, atan2, atan2, atan2Degrees, atan2Degrees, atanDegrees, atanDegrees, binary, binary, ceil, ceil, changeMathType, computeRanges, computeRanges, computeRanges, cos, cos, cosDegrees, cosDegrees, dataClone, divide, divide, exp, exp, floor, floor, getType, local, log, log, longString, longString, max, max, min, min, multiply, multiply, negate, negate, pow, pow, remainder, remainder, rint, rint, round, round, sin, sin, sinDegrees, sinDegrees, sqrt, sqrt, subtract, subtract, tan, tan, tanDegrees, tanDegrees, unary, unary |
| Methods inherited from interface visad.Thing |
|---|
addReference, removeReference |
| Constructor Detail |
|---|
public PointObTuple(EarthLocation location,
DateTime dateTime,
Data data)
throws VisADException,
RemoteException
location - location of the observationdateTime - date/time of the observationdata - associated data.
RemoteException - Java RMI error
VisADException - VisAD Error
public PointObTuple(EarthLocation location,
DateTime dateTime,
Data data,
TupleType tupleType)
throws VisADException,
RemoteException
location - location of the observationdateTime - date/time of the observationdata - associated data.tupleType - The tuple type to use
RemoteException - Java RMI error
VisADException - VisAD Error
public PointObTuple(EarthLocation location,
DateTime dateTime,
Data data,
TupleType tupleType,
boolean checkType)
throws VisADException,
RemoteException
location - location of the observationdateTime - date/time of the observationdata - associated data.tupleType - The tuple type to usecheckType - If true then check that the tuple type matches the type of the data
RemoteException - Java RMI error
VisADException - VisAD Error| Method Detail |
|---|
public Data getComponent(int i)
throws VisADException,
RemoteException
getComponent in interface TupleIfacegetComponent in class Tuplei - component index
RemoteException - On badness
VisADException - On badnesspublic boolean isMissing()
isMissing in interface DataisMissing in interface TupleIfaceisMissing in class Tuplepublic Data[] getComponents(boolean copy)
getComponents in class Tuplecopy - true to copy
public EarthLocation getEarthLocation()
getEarthLocation in interface PointObpublic DateTime getDateTime()
getDateTime in interface PointObpublic Data getData()
getData in interface PointObpublic boolean equals(Object o)
o
equals in class Tupleo - object in question
public int hashCode()
hashCode in class Tuplepublic final Object clone()
clone in class Tuplepublic String toString()
toString in class DataImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||