Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

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>


  • 2000 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: