NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Hi Santi, You can create a FieldImpl with a TextType (i.e., Strings) in its range. Rather than setSamples() to set al the range values in one call, call: public void setSample(int index, Data range) once for each range sample, with index counting up through the samples and 'range' being a Text object (it contains a String). You can find exmaples of this in the visad/examples directory in the Test44.java Test45.java and Test69.java programs. Good luck, Bill On Mon, 18 Apr 2005, S Santos wrote: > I've started work with VISAD few weeks ago and I would like to add String > types in a set. Is there any way to do this? What I have seen is methods like: > > setSamples(float[][]... > setSamples(double[][]... > > what I would like to do is something like this > > setSamples(String[][]... > > Many thanks, > > Santi >
visad
archives: