visad.cluster
Class RemoteNodeTupleImpl
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
visad.RemoteThingImpl
visad.RemoteDataImpl
visad.cluster.RemoteClusterDataImpl
visad.cluster.RemoteNodeDataImpl
visad.cluster.RemoteNodeTupleImpl
- All Implemented Interfaces:
- java.io.Serializable, java.rmi.Remote, RemoteClusterData, RemoteNodeData, RemoteNodeTuple, Data, RemoteData, RemoteThing, RemoteTupleIface, Thing, TupleIface
public class RemoteNodeTupleImpl
- extends RemoteNodeDataImpl
- implements RemoteNodeTuple
RemoteNodeTupleImpl is the class for cluster client
VisAD Tuple data objects.
- See Also:
- Serialized Form
Fields inherited from class java.rmi.server.RemoteObject |
ref |
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 |
RemoteNodeTupleImpl(Data[] datums)
must call setupClusterData after constructor to finish the
"construction" |
Method Summary |
Data |
adjustSamplingError(Data error,
int error_mode)
adjust ErrorEstimate-s for sampling errors in error;
would like 'default' visibility here, but must be declared
'public' because it is defined in the Data interface |
double[][] |
computeRanges(RealType[] reals)
return range of values of RealType real[i] in
return[i][0], return[i][1] |
DataShadow |
computeRanges(ShadowType type,
DataShadow shadow)
recursive version of computeRanges;
would like 'default' visibility here, but must be declared
'public' because it is defined in the Data interface |
DataShadow |
computeRanges(ShadowType type,
int n)
compute ranges of values for each of 'n' RealType-s in
DisplayImpl.RealTypeVector;
would like 'default' visibility here, but must be declared
'public' because it is defined in the Data interface |
Data |
getComponent(int i)
return component for i between 0 and getDimension() - 1 |
int |
getDimension()
return number of components |
Real[] |
getRealComponents()
|
MathType |
getType()
|
boolean |
isMissing()
a method to tell whether data object has a missing value |
java.lang.String |
longString()
generates a longer string than generated by toString |
java.lang.String |
longString(java.lang.String pre)
generates a longer string than generated by toString,
indented by pre (a string of blanks) |
Methods inherited from class visad.RemoteDataImpl |
abs, abs, acos, acos, acosDegrees, acosDegrees, add, add, asin, asin, asinDegrees, asinDegrees, atan, atan, atan2, atan2, atan2Degrees, atan2Degrees, atanDegrees, atanDegrees, binary, binary, ceil, ceil, changeMathType, cos, cos, cosDegrees, cosDegrees, dataClone, divide, divide, exp, exp, floor, floor, log, log, 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 class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
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, asin, asin, asinDegrees, asinDegrees, atan, atan, atan2, atan2, atan2Degrees, atan2Degrees, atanDegrees, atanDegrees, binary, binary, ceil, ceil, changeMathType, cos, cos, cosDegrees, cosDegrees, dataClone, divide, divide, exp, exp, floor, floor, local, log, log, 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 |
RemoteNodeTupleImpl
public RemoteNodeTupleImpl(Data[] datums)
throws VisADException,
java.rmi.RemoteException
- must call setupClusterData after constructor to finish the
"construction"
- Throws:
VisADException
java.rmi.RemoteException
getType
public MathType getType()
throws VisADException,
java.rmi.RemoteException
- Specified by:
getType
in interface Data
- Overrides:
getType
in class RemoteDataImpl
- Throws:
VisADException
java.rmi.RemoteException
getRealComponents
public Real[] getRealComponents()
throws VisADException,
java.rmi.RemoteException
- Specified by:
getRealComponents
in interface TupleIface
- Throws:
VisADException
java.rmi.RemoteException
getDimension
public int getDimension()
throws java.rmi.RemoteException
- Description copied from interface:
TupleIface
- return number of components
- Specified by:
getDimension
in interface TupleIface
- Throws:
java.rmi.RemoteException
getComponent
public Data getComponent(int i)
throws VisADException,
java.rmi.RemoteException
- Description copied from interface:
TupleIface
- return component for i between 0 and getDimension() - 1
- Specified by:
getComponent
in interface TupleIface
- Throws:
VisADException
java.rmi.RemoteException
isMissing
public boolean isMissing()
throws java.rmi.RemoteException
- Description copied from interface:
Data
- a method to tell whether data object has a missing value
- Specified by:
isMissing
in interface Data
- Specified by:
isMissing
in interface TupleIface
- Overrides:
isMissing
in class RemoteDataImpl
- Throws:
java.rmi.RemoteException
computeRanges
public DataShadow computeRanges(ShadowType type,
DataShadow shadow)
throws VisADException,
java.rmi.RemoteException
- Description copied from interface:
Data
- recursive version of computeRanges;
would like 'default' visibility here, but must be declared
'public' because it is defined in the Data interface
- Specified by:
computeRanges
in interface Data
- Specified by:
computeRanges
in interface TupleIface
- Overrides:
computeRanges
in class RemoteDataImpl
- Throws:
VisADException
java.rmi.RemoteException
computeRanges
public DataShadow computeRanges(ShadowType type,
int n)
throws VisADException,
java.rmi.RemoteException
- Description copied from interface:
Data
- compute ranges of values for each of 'n' RealType-s in
DisplayImpl.RealTypeVector;
would like 'default' visibility here, but must be declared
'public' because it is defined in the Data interface
- Specified by:
computeRanges
in interface Data
- Overrides:
computeRanges
in class RemoteDataImpl
- Throws:
VisADException
java.rmi.RemoteException
computeRanges
public double[][] computeRanges(RealType[] reals)
throws VisADException,
java.rmi.RemoteException
- Description copied from interface:
Data
- return range of values of RealType real[i] in
return[i][0], return[i][1]
- Specified by:
computeRanges
in interface Data
- Overrides:
computeRanges
in class RemoteDataImpl
- Throws:
VisADException
java.rmi.RemoteException
adjustSamplingError
public Data adjustSamplingError(Data error,
int error_mode)
throws VisADException,
java.rmi.RemoteException
- Description copied from interface:
Data
- adjust ErrorEstimate-s for sampling errors in error;
would like 'default' visibility here, but must be declared
'public' because it is defined in the Data interface
- Specified by:
adjustSamplingError
in interface Data
- Specified by:
adjustSamplingError
in interface TupleIface
- Overrides:
adjustSamplingError
in class RemoteDataImpl
- Throws:
VisADException
java.rmi.RemoteException
longString
public java.lang.String longString()
throws VisADException,
java.rmi.RemoteException
- Description copied from interface:
Data
- generates a longer string than generated by toString
- Specified by:
longString
in interface Data
- Overrides:
longString
in class RemoteDataImpl
- Throws:
VisADException
java.rmi.RemoteException
longString
public java.lang.String longString(java.lang.String pre)
throws VisADException,
java.rmi.RemoteException
- Description copied from interface:
Data
- generates a longer string than generated by toString,
indented by pre (a string of blanks)
- Specified by:
longString
in interface Data
- Specified by:
longString
in interface TupleIface
- Overrides:
longString
in class RemoteDataImpl
- Throws:
VisADException
java.rmi.RemoteException