示例#1
0
 /**
  * Vets a VisAD data object for compatibility.
  *
  * @param data The VisAD data object to examine for compatibility.
  * @throws TypeException The VisAD data object is incompatible with this quantity.
  * @throws VisADException VisAD failure.
  * @throws RemoteException Java RMI failure.
  */
 public static void Vet(visad.Data data) throws TypeException, VisADException, RemoteException {
   instance.vet(data);
 }
示例#2
0
 /**
  * Vets a VisAD MathType for compatibility.
  *
  * @param type The VisAD MathType to examine for compatibility.
  * @throws TypeException The VisAD MathType is incompatible with this quantity.
  * @throws VisADException VisAD failure.
  */
 public static void Vet(MathType type) throws TypeException, VisADException {
   instance.vet(type);
 }
示例#3
0
 /**
  * Returns the single value of this quantity corresponding to a numeric amount, a unit, and an
  * error estimate.
  *
  * @param amount The numeric value.
  * @param unit The unit of the numeric value. May be <code>null</code>.
  * @param error The error estimate. May be <code>null</code>.
  * @return The single value of this quantity corresponding to the input.
  * @throws VisADException VisAD failure.
  * @see Real#Real(RealType, double, Unit, ErrorEstimate)
  */
 public static Real NewReal(double amount, Unit unit, ErrorEstimate error) throws VisADException {
   return instance.newReal(amount, unit, error);
 }