visad
Class RemoteDataImpl
- java.lang.Object
-
- java.rmi.server.RemoteObject
-
- java.rmi.server.RemoteServer
-
- java.rmi.server.UnicastRemoteObject
-
- visad.RemoteThingImpl
-
- visad.RemoteDataImpl
-
- All Implemented Interfaces:
- java.io.Serializable, java.rmi.Remote, Data, RemoteData, RemoteThing, Thing
- Direct Known Subclasses:
- RemoteClusterDataImpl, RemoteFunctionImpl
public class RemoteDataImpl extends RemoteThingImpl implements RemoteData
RemoteDataImpl is the VisAD remote adapter for DataImpl.Adapts methods from DataImpl, but not: equals, toString, hashCode or clone.
- See Also:
- Serialized Form
-
-
Field Summary
-
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
Constructors Constructor and Description RemoteDataImpl(DataImpl data)construct a RemoteDataImpl adapting local data
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description Dataabs()call unary() to take the absolute value of this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Dataabs(int sampling_mode, int error_mode)call unary() to take the absolute value of thisDataacos()call unary() to take the arccos of this producing radian Units, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Dataacos(int sampling_mode, int error_mode)call unary() to take the arccos of this producing radian UnitsDataacosDegrees()call unary() to take the arccos of this producing degree Units, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)DataacosDegrees(int sampling_mode, int error_mode)call unary() to take the arccos of this producing degree UnitsDataadd(Data data)call binary() to add data to this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Dataadd(Data data, int sampling_mode, int error_mode)call binary() to add data to thisDataadjustSamplingError(Data error, int error_mode)return a clone of this, except with ErrorEstimates combined with values in error, according to error_modeDataasin()call unary() to take the arcsin of this producing radian Units, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Dataasin(int sampling_mode, int error_mode)call unary() to take the arcsin of this producing radian UnitsDataasinDegrees()call unary() to take the arcsin of this producing degree Units, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)DataasinDegrees(int sampling_mode, int error_mode)call unary() to take the arcsin of this producing degree UnitsDataatan()call unary() to take the arctan of this producing radian Units, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Dataatan(int sampling_mode, int error_mode)call unary() to take the arctan of this producing radian UnitsDataatan2(Data data)call binary() to take the atan of this by data producing radian Units, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Dataatan2(Data data, int sampling_mode, int error_mode)call binary() to take the atan of this by data producing radian UnitsDataatan2Degrees(Data data)call binary() to take the atan of this by data producing degree Units, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Dataatan2Degrees(Data data, int sampling_mode, int error_mode)call binary() to take the atan of this by data producing degree UnitsDataatanDegrees()call unary() to take the arctan of this producing degree Units, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)DataatanDegrees(int sampling_mode, int error_mode)call unary() to take the arctan of this producing degree UnitsDatabinary(Data data, int op, int sampling_mode, int error_mode)Pointwise binary operation between this (AdaptedData) and data.Databinary(Data data, int op, MathType new_type, int sampling_mode, int error_mode)Pointwise binary operation between this (AdaptedData) and data.Dataceil()call unary() to take the ceiling of this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Dataceil(int sampling_mode, int error_mode)call unary() to take the ceiling of thisDatachangeMathType(MathType new_type)call unary() to clone this except with a new MathTypedouble[][]computeRanges(RealType[] reals)compute ranges of values in this of given RealTypes, using a dummy DisplayImplJ2DDataShadowcomputeRanges(ShadowType type, DataShadow shadow)Recursive version of computeRanges(), called down through Data object tree.DataShadowcomputeRanges(ShadowType type, int n)Compute ranges of values for each of 'n' RealTypes in DisplayImpl.RealTypeVector.Datacos()call unary() to take the cos of this assuming radian Units unless this actual Units are degrees, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Datacos(int sampling_mode, int error_mode)call unary() to take the cos of this assuming radian Units unless this actual Units are degreesDatacosDegrees()call unary() to take the cos of this assuming degree Units unless this actual Units are radians, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)DatacosDegrees(int sampling_mode, int error_mode)call unary() to take the cos of this assuming degree Units unless this actual Units are radiansjava.lang.ObjectdataClone()A VisAD adaptation of clone that works for local or remote Data.Datadivide(Data data)call binary() to divide this by data, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Datadivide(Data data, int sampling_mode, int error_mode)call binary() to divide this by dataDataexp()call unary() to take the exponent of this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Dataexp(int sampling_mode, int error_mode)call unary() to take the exponent of thisDatafloor()call unary() to take the floor of this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Datafloor(int sampling_mode, int error_mode)call unary() to take the floor of thisMathTypegetType()booleanisMissing()DataImpllocal()Datalog()call unary() to take the log of this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Datalog(int sampling_mode, int error_mode)call unary() to take the log of thisjava.lang.StringlongString()java.lang.StringlongString(java.lang.String pre)Datamax(Data data)call binary() to take the max of this and data, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Datamax(Data data, int sampling_mode, int error_mode)call binary() to take the max of this and dataDatamin(Data data)call binary() to take the min of this and data, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Datamin(Data data, int sampling_mode, int error_mode)call binary() to take the min of this and dataDatamultiply(Data data)call binary() to multiply this by data, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Datamultiply(Data data, int sampling_mode, int error_mode)call binary() to multiply this by dataDatanegate()call unary() to negate this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Datanegate(int sampling_mode, int error_mode)call unary() to negate thisDatapow(Data data)call binary() to raise this to data power, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Datapow(Data data, int sampling_mode, int error_mode)call binary() to raise this to data powerDataremainder(Data data)call binary() to take the remainder of this divided by data, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Dataremainder(Data data, int sampling_mode, int error_mode)call binary() to take the remainder of this divided by dataDatarint()call unary() to take the rint (essentially round) of this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Datarint(int sampling_mode, int error_mode)call unary() to take the rint (essentially round) of thisDataround()call unary() to take the round of this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Dataround(int sampling_mode, int error_mode)call unary() to take the round of thisDatasin()call unary() to take the sin of this assuming radian Units unless this actual Units are degrees, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Datasin(int sampling_mode, int error_mode)call unary() to take the sin of this assuming radian Units unless this actual Units are degreesDatasinDegrees()call unary() to take the sin of this assuming degree Units unless this actual Units are radians, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)DatasinDegrees(int sampling_mode, int error_mode)call unary() to take the sin of this assuming degree Units unless this actual Units are radiansDatasqrt()call unary() to take the square root of this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Datasqrt(int sampling_mode, int error_mode)call unary() to take the square root of thisDatasubtract(Data data)call binary() to subtract data from this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Datasubtract(Data data, int sampling_mode, int error_mode)call binary() to subtract data from thisDatatan()call unary() to take the tan of this assuming radian Units unless this actual Units are degrees, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Datatan(int sampling_mode, int error_mode)call unary() to take the tan of this assuming radian Units unless this actual Units are degreesDatatanDegrees()call unary() to take the tan of this assuming degree Units unless this actual Units are radians, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)DatatanDegrees(int sampling_mode, int error_mode)call unary() to take the tan of this assuming degree Units unless this actual Units are radiansDataunary(int op, int sampling_mode, int error_mode)Pointwise unary operation applied to this (AdaptedData).Dataunary(int op, MathType new_type, int sampling_mode, int error_mode)Pointwise unary operation applied to this (AdaptedData).-
Methods inherited from class visad.RemoteThingImpl
addReference, getTick, incTick, removeReference
-
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
-
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
-
Methods inherited from interface visad.RemoteThing
getTick, incTick
-
Methods inherited from interface visad.Thing
addReference, removeReference
-
-
-
-
Constructor Detail
-
RemoteDataImpl
public RemoteDataImpl(DataImpl data) throws java.rmi.RemoteException
construct a RemoteDataImpl adapting local data- Parameters:
data- adapted DataImpl- Throws:
java.rmi.RemoteException- an RMI error occurred
-
-
Method Detail
-
local
public DataImpl local() throws VisADException, java.rmi.RemoteException
- Specified by:
localin interfaceData- Returns:
- a local copy (AdaptedData, which is Serializable)
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
getType
public MathType getType() throws VisADException, java.rmi.RemoteException
- Specified by:
getTypein interfaceData- Returns:
- MathType of this Data
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
isMissing
public boolean isMissing() throws VisADException, java.rmi.RemoteException- Specified by:
isMissingin interfaceData- Returns:
- flag indicating whether this Data has a missing value
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
binary
public Data binary(Data data, int op, int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
Pointwise binary operation between this (AdaptedData) and data. Applies to Reals, Tuples (recursively to components), and to Field ranges (Field domains implicitly resampled if necessary). Does not apply to Field domains or Sets (regarded as domains of Fields wthout ranges). Data.ADD is only op defined for Text, interpreted as concatenate. MathTypes of this and data must match, or one may match the range of the other if it is a FunctionType.- Specified by:
binaryin interfaceData- Parameters:
data- other Data operand for binary operationop- may be Data.ADD, Data.SUBTRACT, etc; these include all binary operations defined for Java primitive data typessampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result, which takes the MathType of this unless the default Units of that MathType conflict with Units of the result, in which case a generic MathType with appropriate Units is constructed
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
binary
public Data binary(Data data, int op, MathType new_type, int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
Pointwise binary operation between this (AdaptedData) and data. Applies to Reals, Tuples (recursively to components), and to Field ranges (Field domains implicitly resampled if necessary). Does not apply to Field domains or Sets (regarded as domains of Fields wthout ranges). Data.ADD is only op defined for Text, interpreted as concatenate. MathTypes of this and data must match, or one may match the range of the other if it is a FunctionType.- Specified by:
binaryin interfaceData- Parameters:
data- other Data operand for binary operationop- may be Data.ADD, Data.SUBTRACT, etc; these include all binary operations defined for Java primitive data typesnew_type- MathType of the resultsampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result, with MathType = new_type
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
add
public Data add(Data data) throws VisADException, java.rmi.RemoteException
call binary() to add data to this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Specified by:
addin interfaceData- Parameters:
data- other Data operand for binary operation- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
subtract
public Data subtract(Data data) throws VisADException, java.rmi.RemoteException
call binary() to subtract data from this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Specified by:
subtractin interfaceData- Parameters:
data- other Data operand for binary operation- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
multiply
public Data multiply(Data data) throws VisADException, java.rmi.RemoteException
call binary() to multiply this by data, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Specified by:
multiplyin interfaceData- Parameters:
data- other Data operand for binary operation- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
divide
public Data divide(Data data) throws VisADException, java.rmi.RemoteException
call binary() to divide this by data, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Specified by:
dividein interfaceData- Parameters:
data- other Data operand for binary operation- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
pow
public Data pow(Data data) throws VisADException, java.rmi.RemoteException
call binary() to raise this to data power, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Specified by:
powin interfaceData- Parameters:
data- other Data operand for binary operation- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
max
public Data max(Data data) throws VisADException, java.rmi.RemoteException
call binary() to take the max of this and data, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Specified by:
maxin interfaceData- Parameters:
data- other Data operand for binary operation- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
min
public Data min(Data data) throws VisADException, java.rmi.RemoteException
call binary() to take the min of this and data, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Specified by:
minin interfaceData- Parameters:
data- other Data operand for binary operation- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
atan2
public Data atan2(Data data) throws VisADException, java.rmi.RemoteException
call binary() to take the atan of this by data producing radian Units, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Specified by:
atan2in interfaceData- Parameters:
data- other Data operand for binary operation- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
atan2Degrees
public Data atan2Degrees(Data data) throws VisADException, java.rmi.RemoteException
call binary() to take the atan of this by data producing degree Units, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Specified by:
atan2Degreesin interfaceData- Parameters:
data- other Data operand for binary operation- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
remainder
public Data remainder(Data data) throws VisADException, java.rmi.RemoteException
call binary() to take the remainder of this divided by data, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Specified by:
remainderin interfaceData- Parameters:
data- other Data operand for binary operation- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
add
public Data add(Data data, int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call binary() to add data to this- Specified by:
addin interfaceData- Parameters:
data- other Data operand for binary operationsampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
subtract
public Data subtract(Data data, int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call binary() to subtract data from this- Specified by:
subtractin interfaceData- Parameters:
data- other Data operand for binary operationsampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
multiply
public Data multiply(Data data, int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call binary() to multiply this by data- Specified by:
multiplyin interfaceData- Parameters:
data- other Data operand for binary operationsampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
divide
public Data divide(Data data, int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call binary() to divide this by data- Specified by:
dividein interfaceData- Parameters:
data- other Data operand for binary operationsampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
pow
public Data pow(Data data, int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call binary() to raise this to data power- Specified by:
powin interfaceData- Parameters:
data- other Data operand for binary operationsampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
max
public Data max(Data data, int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call binary() to take the max of this and data- Specified by:
maxin interfaceData- Parameters:
data- other Data operand for binary operationsampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
min
public Data min(Data data, int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call binary() to take the min of this and data- Specified by:
minin interfaceData- Parameters:
data- other Data operand for binary operationsampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
atan2
public Data atan2(Data data, int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call binary() to take the atan of this by data producing radian Units- Specified by:
atan2in interfaceData- Parameters:
data- other Data operand for binary operationsampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
atan2Degrees
public Data atan2Degrees(Data data, int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call binary() to take the atan of this by data producing degree Units- Specified by:
atan2Degreesin interfaceData- Parameters:
data- other Data operand for binary operationsampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
remainder
public Data remainder(Data data, int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call binary() to take the remainder of this divided by data- Specified by:
remainderin interfaceData- Parameters:
data- other Data operand for binary operationsampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
unary
public Data unary(int op, int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
Pointwise unary operation applied to this (AdaptedData). Applies to Reals, Tuples (recursively to components), and to Field ranges (Field domains implicitly resampled if necessary). Does not apply to Field domains, Sets (regarded as domains of Fields wthout ranges) or Text.- Specified by:
unaryin interfaceData- Parameters:
op- may be Data.ABS, Data.ACOS, etc; these include all unary operations defined for Java primitive data typessampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation, which takes the MathType of this unless the default Units of that MathType conflict with Units of the result, in which case a generic MathType with appropriate Units is constructed
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
unary
public Data unary(int op, MathType new_type, int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
Pointwise unary operation applied to this (AdaptedData). Applies to Reals, Tuples (recursively to components), and to Field ranges (Field domains implicitly resampled if necessary). Does not apply to Field domains, Sets (regarded as domains of Fields wthout ranges) or Text.- Specified by:
unaryin interfaceData- Parameters:
op- may be Data.ABS, Data.ACOS, etc; these include all unary operations defined for Java primitive data typesnew_type- MathType of the resultsampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result, with MathType = new_type
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
changeMathType
public Data changeMathType(MathType new_type) throws VisADException, java.rmi.RemoteException
call unary() to clone this except with a new MathType- Specified by:
changeMathTypein interfaceData- Parameters:
new_type- MathType of returned Data object- Returns:
- clone of this Data object except with new MathType
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
abs
public Data abs() throws VisADException, java.rmi.RemoteException
call unary() to take the absolute value of this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Specified by:
absin interfaceData- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
acos
public Data acos() throws VisADException, java.rmi.RemoteException
call unary() to take the arccos of this producing radian Units, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Specified by:
acosin interfaceData- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
acosDegrees
public Data acosDegrees() throws VisADException, java.rmi.RemoteException
call unary() to take the arccos of this producing degree Units, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Specified by:
acosDegreesin interfaceData- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
asin
public Data asin() throws VisADException, java.rmi.RemoteException
call unary() to take the arcsin of this producing radian Units, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Specified by:
asinin interfaceData- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
asinDegrees
public Data asinDegrees() throws VisADException, java.rmi.RemoteException
call unary() to take the arcsin of this producing degree Units, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Specified by:
asinDegreesin interfaceData- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
atan
public Data atan() throws VisADException, java.rmi.RemoteException
call unary() to take the arctan of this producing radian Units, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Specified by:
atanin interfaceData- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
atanDegrees
public Data atanDegrees() throws VisADException, java.rmi.RemoteException
call unary() to take the arctan of this producing degree Units, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Specified by:
atanDegreesin interfaceData- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
ceil
public Data ceil() throws VisADException, java.rmi.RemoteException
call unary() to take the ceiling of this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Specified by:
ceilin interfaceData- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
cos
public Data cos() throws VisADException, java.rmi.RemoteException
call unary() to take the cos of this assuming radian Units unless this actual Units are degrees, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Specified by:
cosin interfaceData- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
cosDegrees
public Data cosDegrees() throws VisADException, java.rmi.RemoteException
call unary() to take the cos of this assuming degree Units unless this actual Units are radians, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Specified by:
cosDegreesin interfaceData- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
exp
public Data exp() throws VisADException, java.rmi.RemoteException
call unary() to take the exponent of this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Specified by:
expin interfaceData- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
floor
public Data floor() throws VisADException, java.rmi.RemoteException
call unary() to take the floor of this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Specified by:
floorin interfaceData- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
log
public Data log() throws VisADException, java.rmi.RemoteException
call unary() to take the log of this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Specified by:
login interfaceData- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
rint
public Data rint() throws VisADException, java.rmi.RemoteException
call unary() to take the rint (essentially round) of this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Specified by:
rintin interfaceData- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
round
public Data round() throws VisADException, java.rmi.RemoteException
call unary() to take the round of this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Specified by:
roundin interfaceData- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
sin
public Data sin() throws VisADException, java.rmi.RemoteException
call unary() to take the sin of this assuming radian Units unless this actual Units are degrees, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Specified by:
sinin interfaceData- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
sinDegrees
public Data sinDegrees() throws VisADException, java.rmi.RemoteException
call unary() to take the sin of this assuming degree Units unless this actual Units are radians, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Specified by:
sinDegreesin interfaceData- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
sqrt
public Data sqrt() throws VisADException, java.rmi.RemoteException
call unary() to take the square root of this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Specified by:
sqrtin interfaceData- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
tan
public Data tan() throws VisADException, java.rmi.RemoteException
call unary() to take the tan of this assuming radian Units unless this actual Units are degrees, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Specified by:
tanin interfaceData- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
tanDegrees
public Data tanDegrees() throws VisADException, java.rmi.RemoteException
call unary() to take the tan of this assuming degree Units unless this actual Units are radians, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Specified by:
tanDegreesin interfaceData- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
negate
public Data negate() throws VisADException, java.rmi.RemoteException
call unary() to negate this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Specified by:
negatein interfaceData- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
abs
public Data abs(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the absolute value of this- Specified by:
absin interfaceData- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
acos
public Data acos(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the arccos of this producing radian Units- Specified by:
acosin interfaceData- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
acosDegrees
public Data acosDegrees(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the arccos of this producing degree Units- Specified by:
acosDegreesin interfaceData- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
asin
public Data asin(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the arcsin of this producing radian Units- Specified by:
asinin interfaceData- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
asinDegrees
public Data asinDegrees(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the arcsin of this producing degree Units- Specified by:
asinDegreesin interfaceData- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
atan
public Data atan(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the arctan of this producing radian Units- Specified by:
atanin interfaceData- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
atanDegrees
public Data atanDegrees(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the arctan of this producing degree Units- Specified by:
atanDegreesin interfaceData- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
ceil
public Data ceil(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the ceiling of this- Specified by:
ceilin interfaceData- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
cos
public Data cos(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the cos of this assuming radian Units unless this actual Units are degrees- Specified by:
cosin interfaceData- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
cosDegrees
public Data cosDegrees(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the cos of this assuming degree Units unless this actual Units are radians- Specified by:
cosDegreesin interfaceData- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
exp
public Data exp(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the exponent of this- Specified by:
expin interfaceData- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
floor
public Data floor(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the floor of this- Specified by:
floorin interfaceData- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
log
public Data log(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the log of this- Specified by:
login interfaceData- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
rint
public Data rint(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the rint (essentially round) of this- Specified by:
rintin interfaceData- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
round
public Data round(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the round of this- Specified by:
roundin interfaceData- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
sin
public Data sin(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the sin of this assuming radian Units unless this actual Units are degrees- Specified by:
sinin interfaceData- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
sinDegrees
public Data sinDegrees(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the sin of this assuming degree Units unless this actual Units are radians- Specified by:
sinDegreesin interfaceData- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
sqrt
public Data sqrt(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the square root of this- Specified by:
sqrtin interfaceData- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
tan
public Data tan(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the tan of this assuming radian Units unless this actual Units are degrees- Specified by:
tanin interfaceData- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
tanDegrees
public Data tanDegrees(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the tan of this assuming degree Units unless this actual Units are radians- Specified by:
tanDegreesin interfaceData- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
negate
public Data negate(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to negate this- Specified by:
negatein interfaceData- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
computeRanges
public double[][] computeRanges(RealType[] reals) throws VisADException, java.rmi.RemoteException
compute ranges of values in this of given RealTypes, using a dummy DisplayImplJ2D- Specified by:
computeRangesin interfaceData- Parameters:
reals- array of RealTypes whose value ranges to compute- Returns:
- double[reals.length][2] giving the low and high value in this for each RealType in reals
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
computeRanges
public DataShadow computeRanges(ShadowType type, int n) throws VisADException, java.rmi.RemoteException
Compute ranges of values for each of 'n' RealTypes in DisplayImpl.RealTypeVector. Called from DataRenderer with n = DisplayImpl.getScalarCount().- Specified by:
computeRangesin interfaceData- Parameters:
type- ShadowType generated for MathType of thisn- number of RealTypes in DisplayImpl.RealTypeVector- Returns:
- DataShadow instance containing double[][] array of RealType ranges, and an animation sampling Set
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
computeRanges
public DataShadow computeRanges(ShadowType type, DataShadow shadow) throws VisADException, java.rmi.RemoteException
Recursive version of computeRanges(), called down through Data object tree.- Specified by:
computeRangesin interfaceData- Parameters:
type- ShadowType generated for MathType of thisshadow- DataShadow instance whose contained double[][] array and animation sampling Set are modified according to RealType values in this, and used as return value- Returns:
- DataShadow instance containing double[][] array of RealType ranges, and an animation sampling Set
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
adjustSamplingError
public Data adjustSamplingError(Data error, int error_mode) throws VisADException, java.rmi.RemoteException
return a clone of this, except with ErrorEstimates combined with values in error, according to error_mode- Specified by:
adjustSamplingErrorin interfaceData- Parameters:
error-error_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- clone of this, except with ErrorEstimates set according to values in error
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
longString
public java.lang.String longString() throws VisADException, java.rmi.RemoteException- Specified by:
longStringin interfaceData- Returns:
- a longer String than returned by toString()
- Throws:
VisADExceptionjava.rmi.RemoteException
-
longString
public java.lang.String longString(java.lang.String pre) throws VisADException, java.rmi.RemoteException- Specified by:
longStringin interfaceData- Parameters:
pre- String added to start of each line- Returns:
- a longer String than returned by toString(), indented by pre (a string of blanks)
- Throws:
VisADExceptionjava.rmi.RemoteException
-
dataClone
public java.lang.Object dataClone() throws java.rmi.RemoteExceptionA VisAD adaptation of clone that works for local or remote Data. Catches CloneNotSupportedException and throws message in a RuntimeException.
-
-
DMelt 3.0 © DataMelt by jWork.ORG