Re: relation between JPythonMethods and DataUtils

Hi Maohai,

The methods in visad.python.JPythonMethods are
designed for easy use when programming VisAD in Jython.
The methods in visad.util.DataUtility are utility
methods that VisAD developers thought would be of
general use when working with VisAD Data objects.

There is overlap because the methods were coded by
different developers working on different areas of
VisAD.  If the methods truly perform identically then
one of them should probably just call the other to cut
down on lines of code.

Use whichever method you are more comfortable with.


At 11:19 AM 3/13/2003, m huang wrote:
>There are overlaps between these two classes,
>for example JPythonMethods.field(flaot[][]) and
>DataUtils.makeImage(float[][]) do the same thing.
>There are other identical methods.
>Except for the nominal difference suggested by
>the class name, is one class more preferrable than
>the other for to do the same thing?
>maohai huang

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