Re: Simple Field question

Edward,

>Date: Wed, 27 Sep 2000 16:14:18 -0400
>From: Edward Stanford <stanford@xxxxxxx>
>To: visad-list@xxxxxxxxxxxxx
>Subject: Simple Field question

The above message contained the following:

> This one is fairly simple: assume one has an instance of a FieldImpl.  How 
> may one dynamically determine the FunctionType, and hence, the range 
> RealType, of the FieldImpl?

    FieldImpl           field = ...;
    FunctionType        funcType = (FunctionType)field.getType();
    MathType            rangeType = funcType.getRange();

Regards,
Steve Emmerson   <http://www.unidata.ucar.edu>