Get Set Type


Greetings,

If I print a Set (Irregular1DSet, Linear3DSet, Gridded2DSet, etc.) to standard output, I get output that resmbles the following:

> visad.Irregular1DSet: Dimension = ........

How can I ask a Set which kind of set it is? Typically, I already know the set and just cast it, but I'm trying to make my code a bit more "generic"

Thank you very much!

-kevin.

--
+------------------------------------------------------------+
Kevin L. Manross        [KD5MYD] <><          (405)-366-0557
CIMMS Research Associate               kevin.manross@xxxxxxxx
[NSSL-WRDD/SWATN]           http://www.cimms.ou.edu/~kmanross

"My opinions are my own and not representative of CIMMS, NSSL,
 NOAA or any affiliates"
+------------------------------------------------------------+