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.
Hi Kevin, > 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" For any Java object obj, you can do: String class_name = obj.getClass().getName(); Good luck, Bill
visad
archives: