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: Reconstructing MathTypes

Mathias,

>Date: Tue, 17 Jul 2001 19:13:32 +0200
>From: =?iso-8859-1?Q?Mathias_St=FCmpert?= <atzes@xxxxxx>
>To: "VisAD List" <visad-list@xxxxxxxxxxxxx>
>Subject: Reconstructing MathTypes
>Keywords: 200107171713.f6HHDa105410

The above message contained the following:

> I have a problem with reconstructing MathTypes from a formerly
> constructed LinearNDSet. I constructed the set with a RealTupleType as
> MathType. When I'm trying to get the MathTypes out of the set via
> LinearNDSet.getLinear1DComponent(int).getType() I expect a RealType but
> what I get is a SetType of the expected RealType. Is this behavior
> normal? ...

The behavior is correct. The return type of
LinearNDSet.getLinear1DComponent(int) is a Linear1DSet, which is a
subclass of Set. Invoking getType() on a Set always returns a SetType.

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


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