public class DoubleTuple extends RealTuple
DataImpl.SyncherABS, 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 and Description |
|---|
DoubleTuple(double[] doubles)
Construct a new DoubleTuple of generic values
|
DoubleTuple(RealTupleType type,
Data[] prototypes,
double[] doubles,
Unit[] units) |
DoubleTuple(RealTupleType type,
double[] doubles)
Construct a new DoubleTuple
|
DoubleTuple(RealTupleType type,
double[] doubles,
Unit[] units)
Construct a new DoubleTuple
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Indicates if this Tuple is identical to an object.
|
Data |
getComponent(int i)
Get the i'th component.
|
Data[] |
getComponents(boolean copy)
Create, if needed, and return the component array.
|
Unit[] |
getTupleUnits()
Get Units of Real components
|
double[] |
getValues()
Get the values of the Real components
|
int |
hashCode()
Returns the hash code of this object.
|
boolean |
isMissing()
Check if there is no Data in this Tuple.
|
static void |
main(String[] args)
run 'java visad.DoubleTuple' to test the RealTuple class
|
addReference, binary, clone, computeRanges, getCoordinateSystem, getErrors, longString, removeReference, toString, unary__getitem__, __len__, adjustSamplingError, buildTupleType, getComponents, getDimension, getLength, getRealComponents, makeTuple__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, 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, unaryfinalize, getClass, notify, notifyAll, wait, wait, waitadjustSamplingError, getDimension, getRealComponentsabs, 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, 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, unarypublic DoubleTuple(double[] doubles)
throws VisADException
doubles - the valuesVisADException - problem creating MathTypepublic DoubleTuple(RealTupleType type, double[] doubles)
type - The typedoubles - The realspublic DoubleTuple(RealTupleType type, double[] doubles, Unit[] units)
type - The typedoubles - The realsunits - The units for the reals (may be null)public DoubleTuple(RealTupleType type, Data[] prototypes, double[] doubles, Unit[] units)
public boolean isMissing()
public Data getComponent(int i) throws VisADException, RemoteException
getComponent in interface TupleIfacegetComponent in class Tuplei - Which oneRemoteException - On badnessVisADException - On badnesspublic Data[] getComponents(boolean copy)
getComponents in class Tuplecopy - if true then return a copy of the tuple array. Else return the actual arraypublic Unit[] getTupleUnits()
getTupleUnits in interface RealTupleIfacegetTupleUnits in class RealTuplepublic double[] getValues()
getValues in interface RealTupleIfacegetValues in class RealTuplepublic boolean equals(Object obj)
public int hashCode()
public static void main(String[] args) throws VisADException, RemoteException
args - ignoredRemoteException - Java RMI problemVisADException - Unable to create the VisAD objectsCopyright © 1996–2023 The SSEC Visualization Project. All rights reserved.