ucar.unidata.view.sounding
Class TuplerCell
java.lang.Object
ucar.unidata.view.sounding.ComputeCell
ucar.unidata.view.sounding.TuplerCell
public final class TuplerCell
- extends ComputeCell
Creates an output VisAD Tuple individual, data objects.
The output Tuple will be a RealTuple when
appropriate. If the input comprises a single data object, then that
object will be the output.
- Version:
- $Revision: 1.6 $ $Date: 2005/05/13 18:33:39 $
- Author:
- Steven R. Emmerson
|
Constructor Summary |
TuplerCell(DataReference[] refs)
Constructs from an array of references to the individual data objects. |
|
Method Summary |
protected Data |
compute(Data[] datums)
Computes the output Tuple. |
TuplerCell
public TuplerCell(DataReference[] refs)
throws VisADException,
RemoteException
- Constructs from an array of references to the individual data objects.
- Parameters:
refs - The input data references.
- Throws:
VisADException - if a VisAD failure occurs.
RemoteException - if a Java RMI failure occurs.
compute
protected Data compute(Data[] datums)
throws TypeException,
VisADException,
RemoteException
- Computes the output Tuple.
- Specified by:
compute in class ComputeCell
- Parameters:
datums - The input data in the same order as during
construction.
- Returns:
- The
Tuple corresponding to the
input data, in order.
- Throws:
ClassCastException - if an input data reference has the wrong
type of data object.
TypeException - if a VisAD data object has the wrong type.
VisADException - if a VisAD failure occurs.
RemoteException - if a Java RMI failure occurs.